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.001112/0.001112, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3445, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002592/0.3472, allocations: 1.735 MB / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001515/0.3473, allocations: 68.61 kB / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.3474, allocations: 1.094 kB / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.405e-05/0.3475, allocations: 22.73 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.3475, allocations: 24.34 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.09e-05/0.3476, allocations: 23.97 kB / 0.5323 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3477, allocations: 103.8 kB / 0.5324 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3479, allocations: 59.22 kB / 0.5325 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.3479, allocations: 37.98 kB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.348, allocations: 45.94 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3481, allocations: 14.59 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.3481, allocations: 11.09 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.3481, allocations: 19.97 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.3482, allocations: 55.83 kB / 0.5326 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3483, allocations: 126.7 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3483, allocations: 0 / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3483, allocations: 0 / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3484, allocations: 0 / 0.5328 GB, free: 11.6 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.0004525/0.3488, allocations: 393.8 kB / 0.5331 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3489, allocations: 9.375 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.3489, allocations: 47.02 kB / 0.5332 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3489, allocations: 10.97 kB / 0.5332 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3491, allocations: 179.1 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3491, allocations: 12.98 kB / 0.5334 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3491, allocations: 15.84 kB / 0.5334 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3493, allocations: 134.6 kB / 0.5335 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3493, allocations: 4.719 kB / 0.5335 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3494, allocations: 5.281 kB / 0.5335 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3494, allocations: 3.031 kB / 0.5335 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3495, allocations: 60.22 kB / 0.5336 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007387/0.3502, allocations: 0.7198 MB / 0.5343 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.3503, allocations: 166.2 kB / 0.5345 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.3504, allocations: 85.2 kB / 0.5345 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3504, allocations: 83.28 kB / 0.5346 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3504, allocations: 107.1 kB / 0.5347 GB, free: 9.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3504, allocations: 0 / 0.5347 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.744e-05/0.3505, allocations: 37 kB / 0.5348 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.3506, allocations: 127.9 kB / 0.5349 GB, free: 9.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3507, allocations: 151 kB / 0.535 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3507, allocations: 29.7 kB / 0.5351 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.3508, allocations: 122.2 kB / 0.5352 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.3508, allocations: 5.109 kB / 0.5352 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.3508, allocations: 26.2 kB / 0.5352 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.3509, allocations: 320.9 kB / 0.5355 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.351, allocations: 7.156 kB / 0.5355 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.351, allocations: 47.98 kB / 0.5356 GB, free: 8.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.3511, allocations: 51.91 kB / 0.5356 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3511, allocations: 4 kB / 0.5356 GB, free: 8.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001323/0.3512, allocations: 78.84 kB / 0.5357 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3512, allocations: 6.719 kB / 0.5357 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3513, allocations: 2.094 kB / 0.5357 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3513, allocations: 1.188 kB / 0.5357 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.3513, allocations: 12.08 kB / 0.5357 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3513, allocations: 5.875 kB / 0.5357 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.3514, allocations: 11.84 kB / 0.5357 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3514, allocations: 3.938 kB / 0.5357 GB, free: 8.602 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 9.225e-05/0.3515, allocations: 200.9 kB / 0.5359 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.3516, allocations: 104.7 kB / 0.536 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.3516, allocations: 118.5 kB / 0.5361 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/0.3517, allocations: 178.4 kB / 0.5363 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-05/0.3517, allocations: 184.2 kB / 0.5365 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/0.3518, allocations: 190.2 kB / 0.5367 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.352, allocations: 433.5 kB / 0.5371 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/0.3521, allocations: 104.9 kB / 0.5372 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.3521, allocations: 106.7 kB / 0.5373 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.466e-05/0.3522, allocations: 180.4 kB / 0.5375 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.3523, allocations: 193.3 kB / 0.5376 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-05/0.3523, allocations: 177.4 kB / 0.5378 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.622e-05/0.3524, allocations: 181.4 kB / 0.538 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3525, allocations: 316.8 kB / 0.5383 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3526, allocations: 184.7 kB / 0.5385 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.3527, allocations: 185.3 kB / 0.5386 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3528, allocations: 106.3 kB / 0.5387 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.3528, allocations: 177.3 kB / 0.5389 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3529, allocations: 114.1 kB / 0.539 GB, free: 5.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.3529, allocations: 111.9 kB / 0.5391 GB, free: 4.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 0 / 0.5391 GB, free: 4.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3532, allocations: 12.66 kB / 0.5391 GB, free: 4.973 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.0003772/0.3536, allocations: 0.8118 MB / 0.5399 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.3536, allocations: 23.52 kB / 0.5399 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3537, allocations: 384 / 0.5399 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.3537, allocations: 7.938 kB / 0.54 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.354, allocations: 462.7 kB / 0.5404 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3553, allocations: 1.586 MB / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3556, allocations: 0.6992 MB / 0.5426 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.506e-05/0.3556, allocations: 5.359 kB / 0.5426 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.3557, allocations: 22.19 kB / 0.5427 GB, free: 1.414 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3557, allocations: 0 / 0.5427 GB, free: 1.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.3734, allocations: 1.6 MB / 0.5442 GB, free: 0.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.164, allocations: 13.02 kB / 0.5442 GB, free: 0.5352 MB / 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