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.0008463/0.0008464, allocations: 94.67 kB / 17.35 MB, free: 6.344 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.0009392/0.0009392, allocations: 171.6 kB / 18.25 MB, free: 5.504 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.208/1.208, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1746/0.1746, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 13.95 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09005, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001557/0.09164, allocations: 1.42 MB / 473.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.09179, allocations: 71.73 kB / 473.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.09184, allocations: 0 / 473.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.09188, allocations: 19.91 kB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.09195, allocations: 15.84 kB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.636e-05/0.09203, allocations: 19.98 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.09215, allocations: 103.5 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.0923, allocations: 44.3 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.09234, allocations: 27.94 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.09241, allocations: 43.77 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.09243, allocations: 8 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.09246, allocations: 4 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.09249, allocations: 19.92 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.09256, allocations: 73.44 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.09267, allocations: 111.9 kB / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09268, allocations: 0 / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09269, allocations: 0 / 474.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.0927, allocations: 0 / 474.3 MB, free: 11.23 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.0003886/0.09309, allocations: 387.5 kB / 474.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.09314, allocations: 12.03 kB / 474.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.09318, allocations: 38.75 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.09321, allocations: 16.75 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.09332, allocations: 176.2 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.09334, allocations: 8.609 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.09336, allocations: 12.38 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.09357, allocations: 129.5 kB / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.09358, allocations: 3.938 kB / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.0936, allocations: 4 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.09361, allocations: 7.938 kB / 475.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.09372, allocations: 63.92 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.09442, allocations: 0.7351 MB / 475.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.09449, allocations: 165.1 kB / 476.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.09453, allocations: 84.14 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.09455, allocations: 75.28 kB / 476.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.09459, allocations: 109.8 kB / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.0946, allocations: 0 / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.701e-05/0.09467, allocations: 37.55 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.09472, allocations: 126.7 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.09484, allocations: 153.8 kB / 476.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.09486, allocations: 25.7 kB / 476.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.09492, allocations: 119.6 kB / 476.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.09493, allocations: 8 kB / 476.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.09496, allocations: 9.719 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.09505, allocations: 322.8 kB / 477.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.09507, allocations: 4 kB / 477.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.09511, allocations: 45.16 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.09517, allocations: 61.02 kB / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.09518, allocations: 4 kB / 477.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001263/0.09531, allocations: 69.56 kB / 477.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.09533, allocations: 4 kB / 477.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.09534, allocations: 4 kB / 477.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.09536, allocations: 0 / 477.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.09542, allocations: 12 kB / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.09543, allocations: 0 / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.09548, allocations: 19.72 kB / 477.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.0955, allocations: 12.17 kB / 477.4 MB, free: 7.906 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 8.664e-05/0.09559, allocations: 201 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.09564, allocations: 108.9 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.09569, allocations: 104.9 kB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/0.09575, allocations: 184.2 kB / 477.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.665e-05/0.0958, allocations: 180.2 kB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.886e-05/0.09585, allocations: 192.1 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.09607, allocations: 437.2 kB / 478.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/0.09611, allocations: 105 kB / 478.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.09614, allocations: 108.9 kB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.571e-05/0.09619, allocations: 176.3 kB / 479.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.09625, allocations: 192.3 kB / 479.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.34e-05/0.0963, allocations: 180.3 kB / 479.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.921e-05/0.09635, allocations: 184.2 kB / 479.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.09647, allocations: 303.7 kB / 480 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.09655, allocations: 202 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.09661, allocations: 176.3 kB / 480.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.09669, allocations: 104.9 kB / 480.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.09674, allocations: 176.3 kB / 480.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.09678, allocations: 112.9 kB / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.09685, allocations: 109.3 kB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09685, allocations: 0 / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.09709, allocations: 27.84 kB / 480.8 MB, free: 4.195 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.0003078/0.0974, allocations: 0.8052 MB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.09747, allocations: 24.25 kB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09749, allocations: 4.062 kB / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.09749, allocations: 0 / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.09783, allocations: 0.5263 MB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.09894, allocations: 1.628 MB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.09914, allocations: 0.6887 MB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.803e-05/0.09918, allocations: 11.98 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.09922, allocations: 19.44 kB / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09922, allocations: 0 / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0098/0.109, allocations: 1.375 MB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.1092, allocations: 196.7 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.646, allocations: 7.875 kB / 486.1 MB, free: 14.79 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