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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.001167/0.001167, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.296/1.296, allocations: 222.9 MB / 241.9 MB, free: 15.36 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.2094/0.2094, allocations: 44.18 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 60.06 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003437/0.1087, allocations: 1.775 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002733/0.1091, allocations: 71.72 kB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.1091, allocations: 4 kB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.682e-05/0.1092, allocations: 11.91 kB / 470.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.016e-05/0.1094, allocations: 19.86 kB / 470.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.509e-05/0.1095, allocations: 23.98 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1096, allocations: 103.5 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1098, allocations: 55.97 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.1098, allocations: 35.92 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.1099, allocations: 47.78 kB / 471 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.11, allocations: 12 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.11, allocations: 12 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.11, allocations: 23.92 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.1101, allocations: 55.72 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1102, allocations: 111.9 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1102, allocations: 0 / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1102, allocations: 7.938 kB / 471.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1102, allocations: 0 / 471.2 MB, free: 12.26 MB / 350.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.0004432/0.1107, allocations: 403.3 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1107, allocations: 8.031 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.1108, allocations: 46.73 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1108, allocations: 12.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.111, allocations: 172.3 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.111, allocations: 8.609 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.111, allocations: 12.38 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1112, allocations: 137.5 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1112, allocations: 3.938 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1113, allocations: 4 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1113, allocations: 4 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1114, allocations: 63.91 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.1122, allocations: 0.7273 MB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.1122, allocations: 169.1 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.1123, allocations: 80.14 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.1123, allocations: 75.28 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.1124, allocations: 113.8 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1124, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.438e-05/0.1124, allocations: 33.55 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1125, allocations: 134.7 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1126, allocations: 153.7 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1127, allocations: 25.7 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.1128, allocations: 115.7 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.1128, allocations: 0 / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1128, allocations: 21.72 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1129, allocations: 322.8 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.113, allocations: 4 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.113, allocations: 49.14 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.1131, allocations: 57.16 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1131, allocations: 4 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001428/0.1132, allocations: 77.47 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1132, allocations: 4 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1133, allocations: 4 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1133, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.1133, allocations: 12.17 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1134, allocations: 8 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1134, allocations: 19.72 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.1134, allocations: 0 / 474.2 MB, free: 8.918 MB / 350.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.0001048/0.1135, allocations: 201.1 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.1136, allocations: 101 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.1136, allocations: 116.8 kB / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-05/0.1137, allocations: 184.2 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/0.1138, allocations: 184.3 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/0.1138, allocations: 188.2 kB / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1141, allocations: 433.2 kB / 475.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.1141, allocations: 101 kB / 475.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.1142, allocations: 104.9 kB / 475.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.129e-05/0.1142, allocations: 188.2 kB / 476 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.1143, allocations: 180.2 kB / 476.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-05/0.1143, allocations: 180.3 kB / 476.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-05/0.1144, allocations: 180.2 kB / 476.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1145, allocations: 323.6 kB / 476.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1146, allocations: 185.9 kB / 477 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.1147, allocations: 180.3 kB / 477.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.1148, allocations: 105 kB / 477.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.1148, allocations: 180.2 kB / 477.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.1149, allocations: 104.9 kB / 477.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.115, allocations: 117.3 kB / 477.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 477.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1152, allocations: 15.94 kB / 477.7 MB, free: 5.219 MB / 350.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.000358/0.1156, allocations: 0.813 MB / 478.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.1157, allocations: 23.94 kB / 478.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1157, allocations: 0 / 478.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.1157, allocations: 0 / 478.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1161, allocations: 467.6 kB / 479 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1174, allocations: 1.619 MB / 480.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1177, allocations: 0.6962 MB / 481.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.1177, allocations: 11.98 kB / 481.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.1178, allocations: 19.44 kB / 481.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1178, allocations: 0 / 481.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1306, allocations: 1.495 MB / 482.8 MB, free: 24 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.1309, allocations: 198.5 kB / 483 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.836, allocations: 4 kB / 483 MB, free: 15.77 MB / 366.1 MB (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 --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) 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