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.0009264/0.0009265, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1833/0.1833, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002403, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09541, allocations: 63.55 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001705/0.09716, allocations: 1.45 MB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.09732, allocations: 67.73 kB / 484.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.09738, allocations: 0 / 484.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.09743, allocations: 15.86 kB / 484.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.0975, allocations: 23.83 kB / 484.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.886e-05/0.09759, allocations: 19.98 kB / 484.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.09771, allocations: 95.59 kB / 484.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.09787, allocations: 52.28 kB / 484.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.09793, allocations: 31.88 kB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.098, allocations: 35.84 kB / 485 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.09803, allocations: 4 kB / 485 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.09805, allocations: 8 kB / 485 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.09808, allocations: 19.91 kB / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.09814, allocations: 73.44 kB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.09826, allocations: 115.8 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09828, allocations: 0 / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09828, allocations: 0 / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.09829, allocations: 4 kB / 485.2 MB, free: 2.043 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.0003872/0.09868, allocations: 375.5 kB / 485.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.09873, allocations: 12.88 kB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.09877, allocations: 42.75 kB / 485.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.09881, allocations: 12.75 kB / 485.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.679e-05/0.09891, allocations: 176.2 kB / 485.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.09893, allocations: 8.609 kB / 485.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.09895, allocations: 16.31 kB / 485.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.09915, allocations: 131.4 kB / 485.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.09917, allocations: 7.875 kB / 485.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.09919, allocations: 8 kB / 485.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.0992, allocations: 0 / 485.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.09932, allocations: 67.98 kB / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.1, allocations: 0.7234 MB / 486.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.1001, allocations: 169.1 kB / 486.9 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.1002, allocations: 84.14 kB / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.1002, allocations: 79.27 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.1002, allocations: 113.8 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1003, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.736e-05/0.1003, allocations: 33.61 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1004, allocations: 130.7 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1005, allocations: 148.3 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.1005, allocations: 25.7 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1006, allocations: 123.6 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.1006, allocations: 7.984 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.1006, allocations: 9.719 kB / 487.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.1007, allocations: 322.8 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.1008, allocations: 8 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.1008, allocations: 49.09 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.1009, allocations: 57.08 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1009, allocations: 0 / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001423/0.101, allocations: 69.56 kB / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1011, allocations: 11.94 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1011, allocations: 0 / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1011, allocations: 0 / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.1012, allocations: 16 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1012, allocations: 192 / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1012, allocations: 19.78 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1012, allocations: 4 kB / 488.2 MB, free: 14.73 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.054e-05/0.1013, allocations: 197 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.1014, allocations: 108.9 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.1014, allocations: 112.8 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/0.1015, allocations: 180.3 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/0.1016, allocations: 184.2 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/0.1016, allocations: 184.1 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1018, allocations: 437.2 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.1019, allocations: 108.9 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.1019, allocations: 105 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.838e-05/0.1019, allocations: 180.3 kB / 489.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.102, allocations: 184.1 kB / 490.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.946e-05/0.1021, allocations: 180.2 kB / 490.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.561e-05/0.1021, allocations: 184.2 kB / 490.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1022, allocations: 311.7 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.1023, allocations: 190 kB / 491 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.1024, allocations: 180.3 kB / 491.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.1024, allocations: 104.9 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1025, allocations: 176.3 kB / 491.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.1025, allocations: 113 kB / 491.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.1026, allocations: 111.2 kB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1026, allocations: 4 kB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1029, allocations: 23.84 kB / 491.7 MB, free: 11.03 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.0003171/0.1032, allocations: 0.8009 MB / 492.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.1033, allocations: 28 kB / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1033, allocations: 0 / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1033, allocations: 0 / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1036, allocations: 0.5224 MB / 493 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1048, allocations: 1.628 MB / 494.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.105, allocations: 0.6926 MB / 495.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.653e-05/0.105, allocations: 11.98 kB / 495.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1051, allocations: 19.44 kB / 495.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1051, allocations: 0 / 495.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01002/0.1151, allocations: 1.391 MB / 496.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.1153, allocations: 198.6 kB / 497 MB, free: 5.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.69, allocations: 3.125 kB / 497 MB, free: 5.629 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