Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001192/0.001192, allocations: 182.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3849, allocations: 60.82 MB / 0.5195 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002535/0.3874, allocations: 1.715 MB / 0.5212 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.3876, allocations: 77.22 kB / 0.5213 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.3877, allocations: 2.375 kB / 0.5213 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.351e-05/0.3878, allocations: 15.97 kB / 0.5213 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.3878, allocations: 20.86 kB / 0.5213 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.3879, allocations: 25.81 kB / 0.5214 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3881, allocations: 106.5 kB / 0.5215 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.3883, allocations: 54.36 kB / 0.5215 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.3884, allocations: 38.97 kB / 0.5215 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3885, allocations: 49.11 kB / 0.5216 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.3885, allocations: 11.09 kB / 0.5216 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.178e-05/0.3886, allocations: 10.56 kB / 0.5216 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.3886, allocations: 21.73 kB / 0.5216 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.3887, allocations: 52.14 kB / 0.5217 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3889, allocations: 120.9 kB / 0.5218 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3889, allocations: 0 / 0.5218 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.3889, allocations: 0 / 0.5218 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3889, allocations: 3.938 kB / 0.5218 GB, free: 2.344 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005126/0.3894, allocations: 396.1 kB / 0.5222 GB, free: 1.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3895, allocations: 9.125 kB / 0.5222 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3895, allocations: 13.44 kB / 0.5222 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.3896, allocations: 176.7 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3896, allocations: 5.672 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.3897, allocations: 15.56 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3899, allocations: 131.3 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3899, allocations: 4.188 kB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.39, allocations: 9.156 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.39, allocations: 3.562 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.3901, allocations: 66.53 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.3908, allocations: 0.7247 MB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.37e-05/0.3909, allocations: 174.9 kB / 0.5235 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.3909, allocations: 81.23 kB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3909, allocations: 75.28 kB / 0.5236 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.391, allocations: 107.7 kB / 0.5237 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.391, allocations: 4 kB / 0.5237 GB, free: 500 kB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.391, allocations: 37.45 kB / 0.5238 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.3911, allocations: 52.28 kB / 0.5238 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3912, allocations: 146.2 kB / 0.524 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.3912, allocations: 25.7 kB / 0.524 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.3913, allocations: 127.5 kB / 0.5241 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.3913, allocations: 0.7969 kB / 0.5241 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3913, allocations: 19.8 kB / 0.5241 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3915, allocations: 326.7 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.3915, allocations: 4.609 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.3916, allocations: 45.67 kB / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.3916, allocations: 51.73 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3916, allocations: 1.062 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001605/0.3918, allocations: 75.67 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3918, allocations: 5.078 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3918, allocations: 6.594 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3919, allocations: 1.75 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.3919, allocations: 14.08 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.392, allocations: 10.05 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.392, allocations: 8.484 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.392, allocations: 6.938 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001098/0.3921, allocations: 198.7 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.3922, allocations: 117.4 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3923, allocations: 113.5 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.928e-05/0.3924, allocations: 185 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.3924, allocations: 103 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.3925, allocations: 190 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.3926, allocations: 187 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.3927, allocations: 101.7 kB / 0.5258 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.3928, allocations: 190.3 kB / 0.526 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.728e-05/0.3929, allocations: 252.7 kB / 0.5262 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002753/0.3932, allocations: 395.9 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.746e-05/0.3932, allocations: 107.3 kB / 0.5267 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.602e-05/0.3933, allocations: 111.7 kB / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3933, allocations: 0 / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.3937, allocations: 92.97 kB / 0.5269 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009408/0.3946, allocations: 0.9163 MB / 0.5278 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Templates: time 0.003698/0.3983, allocations: 458.6 kB / 0.5282 GB, free: 12.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches