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.001272/0.001272, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002746/0.3027, allocations: 1.73 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.3028, allocations: 75.27 kB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.3029, allocations: 1.906 kB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.419e-05/0.303, allocations: 15.86 kB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.303, allocations: 29.77 kB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.005e-05/0.3031, allocations: 25.91 kB / 0.5324 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3033, allocations: 104.3 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.3034, allocations: 57.03 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.3035, allocations: 39.48 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.3035, allocations: 43.31 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3036, allocations: 10.81 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.3036, allocations: 14.66 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.3036, allocations: 22.88 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.3037, allocations: 52.17 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.3039, allocations: 118.4 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3039, allocations: 1.781 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3039, allocations: 4 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3039, allocations: 0 / 0.5329 GB, free: 11.56 MB / 398.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.000484/0.3044, allocations: 398.4 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3044, allocations: 8.875 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.3045, allocations: 46.61 kB / 0.5333 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.3045, allocations: 14.03 kB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3046, allocations: 178.6 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3047, allocations: 10.05 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3047, allocations: 15.31 kB / 0.5335 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3049, allocations: 131 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3049, allocations: 5.5 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3049, allocations: 4 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3049, allocations: 4.281 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3051, allocations: 68 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.3059, allocations: 0.7245 MB / 0.5344 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.306, allocations: 165.1 kB / 0.5346 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.306, allocations: 81.52 kB / 0.5347 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3061, allocations: 83.22 kB / 0.5347 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.3061, allocations: 111.2 kB / 0.5349 GB, free: 9.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3061, allocations: 0 / 0.5349 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.059e-05/0.3062, allocations: 36.38 kB / 0.5349 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.3063, allocations: 128.1 kB / 0.535 GB, free: 9.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3064, allocations: 149 kB / 0.5352 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3064, allocations: 25.7 kB / 0.5352 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.3065, allocations: 130.7 kB / 0.5353 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.3065, allocations: 3.984 kB / 0.5353 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3066, allocations: 23.17 kB / 0.5353 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3067, allocations: 324.1 kB / 0.5356 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.3067, allocations: 8.109 kB / 0.5356 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/0.3068, allocations: 40.03 kB / 0.5357 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.3069, allocations: 58.66 kB / 0.5357 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3069, allocations: 1.375 kB / 0.5357 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001409/0.307, allocations: 74.31 kB / 0.5358 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.307, allocations: 5.5 kB / 0.5358 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3071, allocations: 1.375 kB / 0.5358 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3071, allocations: 6.734 kB / 0.5358 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.3071, allocations: 8.25 kB / 0.5358 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3071, allocations: 2.75 kB / 0.5358 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.3072, allocations: 10.64 kB / 0.5358 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3072, allocations: 2.75 kB / 0.5358 GB, free: 8.555 MB / 398.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.0001152/0.3073, allocations: 198.8 kB / 0.536 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.3074, allocations: 111.7 kB / 0.5361 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.3075, allocations: 115.4 kB / 0.5363 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/0.3075, allocations: 181.6 kB / 0.5364 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.967e-05/0.3076, allocations: 177.6 kB / 0.5366 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-05/0.3077, allocations: 197.5 kB / 0.5368 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.308, allocations: 436.4 kB / 0.5372 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.669e-05/0.3081, allocations: 106.3 kB / 0.5373 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.3081, allocations: 104.9 kB / 0.5374 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.77e-05/0.3082, allocations: 177.8 kB / 0.5376 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.3083, allocations: 185.6 kB / 0.5377 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.443e-05/0.3084, allocations: 189.6 kB / 0.5379 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.808e-05/0.3085, allocations: 180.2 kB / 0.5381 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3086, allocations: 310.5 kB / 0.5384 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3087, allocations: 191.4 kB / 0.5386 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.3088, allocations: 185.6 kB / 0.5388 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.3089, allocations: 102.4 kB / 0.5389 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.309, allocations: 181.6 kB / 0.539 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.3091, allocations: 104.9 kB / 0.5391 GB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.3092, allocations: 120.5 kB / 0.5392 GB, free: 4.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 0 / 0.5392 GB, free: 4.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.3094, allocations: 16.31 kB / 0.5393 GB, free: 4.914 MB / 398.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.0004617/0.3099, allocations: 0.8116 MB / 0.54 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.31, allocations: 27.58 kB / 0.5401 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.31, allocations: 0 / 0.5401 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.31, allocations: 1.844 kB / 0.5401 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3104, allocations: 465.1 kB / 0.5405 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3118, allocations: 1.592 MB / 0.5421 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3121, allocations: 0.695 MB / 0.5428 GB, free: 1.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.516e-05/0.3121, allocations: 6.484 kB / 0.5428 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3122, allocations: 22.25 kB / 0.5428 GB, free: 1.355 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3122, allocations: 0 / 0.5428 GB, free: 1.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.333, allocations: 1.589 MB / 0.5443 GB, free: 500 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.08, allocations: 12.44 kB / 0.5443 GB, free: 496 kB / 398.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