Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.197/0.197, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 84.12 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 62.45 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002727/0.1083, allocations: 1.789 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.1085, allocations: 71.72 kB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.1085, allocations: 4 kB / 481.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.344e-05/0.1086, allocations: 7.922 kB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.1087, allocations: 19.84 kB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1088, allocations: 23.98 kB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1089, allocations: 99.59 kB / 481.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.1091, allocations: 48.22 kB / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.1092, allocations: 39.86 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.1093, allocations: 43.84 kB / 481.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1093, allocations: 8 kB / 481.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.1093, allocations: 8 kB / 481.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.1094, allocations: 19.92 kB / 481.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1094, allocations: 51.73 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1096, allocations: 123.8 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1096, allocations: 0 / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1096, allocations: 0 / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1096, allocations: 0 / 481.7 MB, free: 3.277 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.0004717/0.1101, allocations: 399.4 kB / 482.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1101, allocations: 12.88 kB / 482.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.1102, allocations: 46.73 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1102, allocations: 8.844 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1103, allocations: 172.3 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1103, allocations: 8.609 kB / 482.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1104, allocations: 12.38 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.1106, allocations: 137.5 kB / 482.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1106, allocations: 7.938 kB / 482.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1106, allocations: 8 kB / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1106, allocations: 0 / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1108, allocations: 67.91 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.1115, allocations: 0.7157 MB / 483.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/0.1116, allocations: 169.1 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.1116, allocations: 84.14 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1116, allocations: 79.28 kB / 483.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.1117, allocations: 109.8 kB / 483.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1117, allocations: 0 / 483.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.719e-05/0.1117, allocations: 37.59 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1118, allocations: 130.6 kB / 483.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1119, allocations: 145.8 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.112, allocations: 29.7 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.112, allocations: 123.6 kB / 484.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.112, allocations: 0 / 484.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1121, allocations: 21.7 kB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.1122, allocations: 318.8 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.1122, allocations: 4 kB / 484.5 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.453e-05/0.1122, allocations: 49.14 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.1123, allocations: 53.09 kB / 484.6 MB, free: 84 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1123, allocations: 4 kB / 484.6 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001527/0.1125, allocations: 77.45 kB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1125, allocations: 10.12 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1125, allocations: 4 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1125, allocations: 0 / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.1126, allocations: 23.86 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1126, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1126, allocations: 15.78 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1126, allocations: 8.188 kB / 484.8 MB, free: 15.94 MB / 366.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 9.031e-05/0.1127, allocations: 193.1 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.1128, allocations: 108.9 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1129, allocations: 108.8 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.78e-05/0.1129, allocations: 184.2 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.006e-05/0.113, allocations: 180.3 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.931e-05/0.113, allocations: 188.2 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.1132, allocations: 437.1 kB / 486.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/0.1133, allocations: 105 kB / 486.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.1133, allocations: 108.9 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.838e-05/0.1134, allocations: 176.3 kB / 486.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.1134, allocations: 184.3 kB / 486.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.345e-05/0.1135, allocations: 180.2 kB / 486.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.74e-05/0.1135, allocations: 180.4 kB / 487.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.1136, allocations: 315.6 kB / 487.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.1137, allocations: 194 kB / 487.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.1138, allocations: 184.2 kB / 487.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.1139, allocations: 101 kB / 487.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.1139, allocations: 180.2 kB / 488 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.114, allocations: 108.9 kB / 488.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.66e-05/0.114, allocations: 111.2 kB / 488.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.114, allocations: 0 / 488.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1143, allocations: 23.94 kB / 488.2 MB, free: 12.24 MB / 366.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.0003239/0.1146, allocations: 0.8047 MB / 489.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.1147, allocations: 24.23 kB / 489.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1147, allocations: 4.062 kB / 489.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1147, allocations: 0 / 489.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1151, allocations: 0.5263 MB / 489.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1163, allocations: 1.606 MB / 491.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1165, allocations: 0.6965 MB / 491.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.1166, allocations: 11.94 kB / 491.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1166, allocations: 23.42 kB / 491.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1166, allocations: 0 / 491.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01018/0.1268, allocations: 1.439 MB / 493.4 MB, free: 7.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.127, allocations: 194.3 kB / 493.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/1.912, allocations: 0 / 493.6 MB, free: 6.766 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches