Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 112.3 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 190.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07042/0.07166, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003125/0.07482, allocations: 1.977 MB / 377.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.07651, allocations: 1.061 MB / 378.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.07665, allocations: 7.938 kB / 378.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.07747, allocations: 299.2 kB / 379.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.07795, allocations: 215.2 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.0786, allocations: 255.5 kB / 379.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.07898, allocations: 331.2 kB / 379.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.07913, allocations: 64.34 kB / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.07932, allocations: 139.5 kB / 380.1 MB, free: 248 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.07952, allocations: 147.4 kB / 380.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.07957, allocations: 24 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.07976, allocations: 75.95 kB / 380.4 MB, free: 0 / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1467/0.2265, allocations: 84.86 kB / 380.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.2267, allocations: 125.8 kB / 380.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.2273, allocations: 351.5 kB / 380.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2273, allocations: 0 / 380.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2273, allocations: 3.75 kB / 380.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.2273, allocations: 0.75 kB / 380.9 MB, free: 10.13 MB / 318.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.0009514/0.2283, allocations: 0.6682 MB / 381.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2283, allocations: 10.03 kB / 381.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.2284, allocations: 35.83 kB / 381.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.2288, allocations: 331.8 kB / 382 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2288, allocations: 10.08 kB / 382 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2288, allocations: 11.44 kB / 382 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.2291, allocations: 156.3 kB / 382.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.2291, allocations: 1.078 kB / 382.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2292, allocations: 4.75 kB / 382.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2292, allocations: 5.938 kB / 382.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.2294, allocations: 67.12 kB / 382.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.23, allocations: 0.4944 MB / 382.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.2303, allocations: 129.5 kB / 382.8 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2304, allocations: 55.17 kB / 382.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2304, allocations: 2.75 kB / 382.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.2307, allocations: 111.5 kB / 383 MB, free: 8.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.2307, allocations: 0 / 383 MB, free: 8.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005075/0.2312, allocations: 220.7 kB / 383.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2312, allocations: 109.4 kB / 383.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2318, allocations: 432 kB / 383.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2318, allocations: 32.02 kB / 383.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.2319, allocations: 169.2 kB / 383.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.232, allocations: 39.38 kB / 384 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.232, allocations: 42.38 kB / 384 MB, free: 8.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.2321, allocations: 347.7 kB / 384.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2322, allocations: 42.61 kB / 384.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2324, allocations: 101.5 kB / 384.5 MB, free: 8.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.2326, allocations: 105.7 kB / 384.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2326, allocations: 0.5156 kB / 384.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003/0.2329, allocations: 181.6 kB / 384.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2329, allocations: 6.406 kB / 384.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2329, allocations: 3.875 kB / 384.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2329, allocations: 7.312 kB / 384.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2331, allocations: 24.84 kB / 384.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2331, allocations: 1.5 kB / 384.8 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2332, allocations: 19.88 kB / 384.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2332, allocations: 5.859 kB / 384.9 MB, free: 7.973 MB / 318.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.0001221/0.2333, allocations: 171.6 kB / 385 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.2334, allocations: 30.86 kB / 385.1 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.2335, allocations: 33.39 kB / 385.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2335, allocations: 6.016 kB / 385.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2335, allocations: 0.5 kB / 385.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.2335, allocations: 108.1 kB / 385.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.2336, allocations: 7.359 kB / 385.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.2337, allocations: 11.25 kB / 385.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.2338, allocations: 13.61 kB / 385.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003303/0.2341, allocations: 250.7 kB / 385.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003265/0.2344, allocations: 350 kB / 385.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001191/0.2346, allocations: 60.12 kB / 385.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003062/0.2349, allocations: 312 kB / 386.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Backend: time 3.41e-07/0.2349, allocations: 0 / 386.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2363, allocations: 0.4992 MB / 386.7 MB, free: 7 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008298/0.2371, allocations: 0.9555 MB / 387.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of Templates: time 0.007895/0.245, allocations: 3.941 MB / 391.6 MB, free: 5.91 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches