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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 118.1 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 189.2 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.91 MB / 349.6 MB, free: 1.82 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.77 kB / 491.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1123, allocations: 64.26 MB / 0.543 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002901/0.1152, allocations: 1.714 MB / 0.5447 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.1154, allocations: 75.72 kB / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.1154, allocations: 0 / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.587e-05/0.1155, allocations: 27.78 kB / 0.5448 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.1155, allocations: 23.78 kB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.592e-05/0.1156, allocations: 15.98 kB / 0.5448 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1158, allocations: 111.5 kB / 0.5449 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1159, allocations: 36.27 kB / 0.5449 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.116, allocations: 43.86 kB / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.1161, allocations: 43.83 kB / 0.545 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1161, allocations: 12 kB / 0.545 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.1161, allocations: 8 kB / 0.545 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.1161, allocations: 27.92 kB / 0.5451 GB, free: 2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.1162, allocations: 55.73 kB / 0.5451 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1163, allocations: 123.5 kB / 0.5452 GB, free: 1.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1163, allocations: 0 / 0.5452 GB, free: 1.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1163, allocations: 0 / 0.5452 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1164, allocations: 0 / 0.5452 GB, free: 1.824 MB / 398.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.0005099/0.1169, allocations: 399.3 kB / 0.5456 GB, free: 1.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1169, allocations: 12.02 kB / 0.5456 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.117, allocations: 42.75 kB / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.117, allocations: 16.89 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1171, allocations: 180.2 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1172, allocations: 12.61 kB / 0.5459 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1172, allocations: 8.375 kB / 0.5459 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.1174, allocations: 133.5 kB / 0.546 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1174, allocations: 3.938 kB / 0.546 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1174, allocations: 4 kB / 0.546 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1174, allocations: 4 kB / 0.546 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1176, allocations: 55.98 kB / 0.5461 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.1183, allocations: 0.7236 MB / 0.5468 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1184, allocations: 169.1 kB / 0.5469 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.1185, allocations: 84.14 kB / 0.547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1185, allocations: 79.22 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.1186, allocations: 105.8 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1186, allocations: 3.938 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.618e-05/0.1186, allocations: 33.66 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.1187, allocations: 126.7 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1188, allocations: 147.7 kB / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1189, allocations: 25.7 kB / 0.5475 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.1189, allocations: 135.7 kB / 0.5476 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.1189, allocations: 0 / 0.5476 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.119, allocations: 17.72 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1191, allocations: 326.8 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.1191, allocations: 4 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.1192, allocations: 49.09 kB / 0.548 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.513e-05/0.1193, allocations: 57.08 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1193, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001445/0.1194, allocations: 73.52 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1194, allocations: 8 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1194, allocations: 3.938 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1194, allocations: 0 / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.1195, allocations: 16.12 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1195, allocations: 4.125 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1196, allocations: 23.83 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1196, allocations: 4 kB / 0.5482 GB, free: 14.48 MB / 414.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.0001213/0.1197, allocations: 193.1 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.1198, allocations: 108.9 kB / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.1198, allocations: 116.8 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.85e-05/0.1199, allocations: 180.3 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.498e-05/0.12, allocations: 188.2 kB / 0.549 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/0.1201, allocations: 180.2 kB / 0.5491 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.1204, allocations: 433.3 kB / 0.5495 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/0.1204, allocations: 116.9 kB / 0.5497 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1205, allocations: 101 kB / 0.5498 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.1206, allocations: 184.2 kB / 0.5499 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/0.1206, allocations: 180.2 kB / 0.5501 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.703e-05/0.1207, allocations: 180.3 kB / 0.5503 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.541e-05/0.1208, allocations: 180.2 kB / 0.5504 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.121, allocations: 311.7 kB / 0.5507 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1211, allocations: 194 kB / 0.5509 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.1212, allocations: 180.3 kB / 0.5511 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.1213, allocations: 104.9 kB / 0.5512 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.1214, allocations: 180.3 kB / 0.5514 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.1214, allocations: 112.8 kB / 0.5515 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.922e-05/0.1215, allocations: 117.3 kB / 0.5516 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1215, allocations: 0 / 0.5516 GB, free: 10.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1217, allocations: 23.89 kB / 0.5516 GB, free: 10.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004344/0.1222, allocations: 0.8048 MB / 0.5524 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.809e-05/0.1223, allocations: 19.94 kB / 0.5524 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1223, allocations: 0 / 0.5524 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1223, allocations: 0 / 0.5524 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1227, allocations: 463.6 kB / 0.5529 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1241, allocations: 1.596 MB / 0.5544 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1245, allocations: 0.6961 MB / 0.5551 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.324e-05/0.1245, allocations: 4 kB / 0.5551 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.1245, allocations: 27.42 kB / 0.5551 GB, free: 7 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1246, allocations: 0 / 0.5551 GB, free: 7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1482, allocations: 1.607 MB / 0.5567 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.105, allocations: 11.7 kB / 0.5567 GB, free: 5.469 MB / 414.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.131727430969477]