Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2521, allocations: 50.54 MB / 409.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003428/0.2556, allocations: 2.027 MB / 412 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2575, allocations: 1.278 MB / 413.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2577, allocations: 4 kB / 413.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.2585, allocations: 303.1 kB / 413.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.259, allocations: 251.1 kB / 413.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.2595, allocations: 227 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.2599, allocations: 367.1 kB / 414.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.26, allocations: 56.72 kB / 414.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2602, allocations: 155.4 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2604, allocations: 143.4 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2604, allocations: 20 kB / 414.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.2606, allocations: 79.94 kB / 414.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2607, allocations: 87.67 kB / 414.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2608, allocations: 139.1 kB / 415 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.2612, allocations: 364 kB / 415.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2612, allocations: 0 / 415.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2612, allocations: 0 / 415.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2612, allocations: 8 kB / 415.4 MB, free: 12.25 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008963/0.2622, allocations: 0.6687 MB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2622, allocations: 8.031 kB / 416.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.2623, allocations: 36.55 kB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.2627, allocations: 338.3 kB / 416.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2627, allocations: 12.38 kB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.2628, allocations: 20.11 kB / 416.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.263, allocations: 148 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2631, allocations: 0 / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2631, allocations: 11.98 kB / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2631, allocations: 0 / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2633, allocations: 63.97 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.264, allocations: 0.4964 MB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.2643, allocations: 130.7 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2644, allocations: 48.84 kB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2644, allocations: 7.984 kB / 417.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.2647, allocations: 107.4 kB / 417.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.2647, allocations: 0 / 417.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004948/0.2652, allocations: 224.4 kB / 417.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2652, allocations: 106.8 kB / 417.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.2657, allocations: 457.6 kB / 418.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2658, allocations: 33.7 kB / 418.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2659, allocations: 172 kB / 418.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.2659, allocations: 43.44 kB / 418.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.266, allocations: 41.7 kB / 418.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2661, allocations: 346.8 kB / 418.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2662, allocations: 43.92 kB / 418.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2664, allocations: 104.2 kB / 419 MB, free: 8.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.2666, allocations: 114.4 kB / 419.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2666, allocations: 0 / 419.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000314/0.2669, allocations: 176.3 kB / 419.3 MB, free: 8.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.267, allocations: 8 kB / 419.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.267, allocations: 8 kB / 419.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.267, allocations: 0 / 419.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2671, allocations: 23.98 kB / 419.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2671, allocations: 3.938 kB / 419.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2672, allocations: 19.84 kB / 419.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2673, allocations: 4 kB / 419.4 MB, free: 7.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition1,Pre1.y,Pre1.u,$PRE.Pre1.u,And1.y,Not1.y,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,table2.combiTimeTable.nextTimeEventScaled,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.2674, allocations: 175.5 kB / 419.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2675, allocations: 27.62 kB / 419.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.2676, allocations: 42.91 kB / 419.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2676, allocations: 7.922 kB / 419.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2676, allocations: 0 / 419.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.2677, allocations: 104.7 kB / 419.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.2677, allocations: 8 kB / 419.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.2678, allocations: 7.984 kB / 419.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.2679, allocations: 15.92 kB / 419.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003375/0.2682, allocations: 236.8 kB / 420 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003594/0.2686, allocations: 354.3 kB / 420.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001157/0.2687, allocations: 56.02 kB / 420.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003255/0.269, allocations: 335.1 kB / 420.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of Backend: time 2.866e-06/0.269, allocations: 0 / 420.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.2704, allocations: 0.4927 MB / 421.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of SimCode: time 0.001026/0.2715, allocations: 0.9554 MB / 422.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Templates: time 0.007729/0.2792, allocations: 3.999 MB / 426.1 MB, free: 1.266 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches