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.001162/0.001162, allocations: 103.8 kB / 17.63 MB, free: 5.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.001055/0.001055, allocations: 192 kB / 18.56 MB, free: 4.434 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.285/1.285, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.1969/0.1969, allocations: 44.18 MB / 336.6 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 61.39 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09186, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002772/0.09467, allocations: 1.711 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.09486, allocations: 67.73 kB / 471.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.09492, allocations: 7.938 kB / 471.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/0.09498, allocations: 15.8 kB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.09508, allocations: 31.72 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.692e-05/0.09517, allocations: 23.97 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.0953, allocations: 103.6 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.09545, allocations: 51.97 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.0955, allocations: 35.92 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.09558, allocations: 47.78 kB / 471.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.09561, allocations: 12 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.09563, allocations: 8 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.09566, allocations: 23.92 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.09572, allocations: 51.73 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.09585, allocations: 119.9 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.09586, allocations: 0 / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09587, allocations: 4 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.09588, allocations: 0 / 471.7 MB, free: 11.93 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.0004315/0.09632, allocations: 399.4 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.09636, allocations: 8.031 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.09641, allocations: 54.66 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.09644, allocations: 8.844 kB / 472.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.09655, allocations: 172.3 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.09657, allocations: 8.609 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.09659, allocations: 12.38 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.0968, allocations: 143.4 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.09681, allocations: 3.938 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.09683, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.09684, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.09696, allocations: 59.97 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.09767, allocations: 0.7234 MB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.09775, allocations: 173.1 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.09778, allocations: 80.14 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.09781, allocations: 79.28 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.09785, allocations: 113.8 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.09786, allocations: 0 / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.5e-05/0.09793, allocations: 33.61 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.09798, allocations: 130.7 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.0981, allocations: 151.9 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.09812, allocations: 25.7 kB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.09819, allocations: 119.7 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-06/0.0982, allocations: 3.984 kB / 474.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.09823, allocations: 17.72 kB / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.09833, allocations: 322.8 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.09835, allocations: 7.984 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.09839, allocations: 45.09 kB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.0985, allocations: 65.06 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09851, allocations: 0 / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001434/0.09866, allocations: 73.47 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.09868, allocations: 8 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.09869, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.09871, allocations: 7.984 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.09878, allocations: 8.188 kB / 474.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.0988, allocations: 7.938 kB / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.09885, allocations: 15.78 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.09886, allocations: 4 kB / 474.7 MB, free: 8.582 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 9.067e-05/0.09896, allocations: 197.1 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.09902, allocations: 105 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.09908, allocations: 116.9 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.09913, allocations: 180.3 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/0.09919, allocations: 184.3 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/0.09925, allocations: 184.2 kB / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.09948, allocations: 437.2 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.09953, allocations: 112.9 kB / 476.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.09956, allocations: 101 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.372e-05/0.09962, allocations: 184.2 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.09968, allocations: 180.3 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-05/0.09974, allocations: 180.3 kB / 476.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-05/0.0998, allocations: 188.2 kB / 477 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.09992, allocations: 315.6 kB / 477.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.1, allocations: 186 kB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.1001, allocations: 184.2 kB / 477.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.1002, allocations: 104.9 kB / 477.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.1002, allocations: 180.3 kB / 477.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.1003, allocations: 112.9 kB / 478.1 MB, free: 5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.683e-05/0.1003, allocations: 115.2 kB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1003, allocations: 0 / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1006, allocations: 15.94 kB / 478.2 MB, free: 4.871 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.0003349/0.1009, allocations: 0.8009 MB / 479 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.864e-05/0.101, allocations: 27.92 kB / 479 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.101, allocations: 0 / 479 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.101, allocations: 0 / 479 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1014, allocations: 466.1 kB / 479.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1026, allocations: 1.596 MB / 481.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1028, allocations: 0.7001 MB / 481.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.1029, allocations: 8 kB / 481.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.1029, allocations: 27.42 kB / 481.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1029, allocations: 0 / 481.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.1189, allocations: 1.546 MB / 483.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.21, allocations: 13.03 kB / 483.4 MB, free: 15.59 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