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.001182/0.001182, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001377, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 79.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.398, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003002/0.4011, allocations: 1.737 MB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.4013, allocations: 68.73 kB / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.4013, allocations: 0 / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.375e-05/0.4014, allocations: 20.05 kB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.4015, allocations: 27.2 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.216e-05/0.4016, allocations: 23.97 kB / 0.5323 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.4017, allocations: 104.6 kB / 0.5324 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4019, allocations: 56.03 kB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.402, allocations: 47.78 kB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.4021, allocations: 47.88 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4021, allocations: 10.69 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.4021, allocations: 10.06 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.4022, allocations: 22.73 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.4022, allocations: 52.55 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.4024, allocations: 125.2 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4024, allocations: 1.344 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4024, allocations: 0 / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4024, allocations: 0 / 0.5328 GB, free: 11.61 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.0005015/0.4029, allocations: 397.9 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.403, allocations: 10.06 kB / 0.5332 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.4031, allocations: 46.23 kB / 0.5332 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.4031, allocations: 9.469 kB / 0.5332 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.4032, allocations: 175.5 kB / 0.5334 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.4033, allocations: 10.23 kB / 0.5334 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.4033, allocations: 11.41 kB / 0.5334 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.4035, allocations: 135.2 kB / 0.5335 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4035, allocations: 7.938 kB / 0.5335 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4036, allocations: 5.219 kB / 0.5335 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4036, allocations: 3.781 kB / 0.5335 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4037, allocations: 63.12 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.4045, allocations: 0.721 MB / 0.5343 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.4046, allocations: 165.1 kB / 0.5345 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.4046, allocations: 85.55 kB / 0.5346 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.4046, allocations: 79.28 kB / 0.5346 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4047, allocations: 107.2 kB / 0.5347 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4047, allocations: 4 kB / 0.5347 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.4048, allocations: 36.44 kB / 0.5348 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4048, allocations: 126.7 kB / 0.5349 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.405, allocations: 152.4 kB / 0.535 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.405, allocations: 25.7 kB / 0.5351 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.4051, allocations: 126.5 kB / 0.5352 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.4051, allocations: 0 / 0.5352 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.4051, allocations: 23.05 kB / 0.5352 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4052, allocations: 324.1 kB / 0.5355 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.4053, allocations: 4.375 kB / 0.5355 GB, free: 8.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.4053, allocations: 47.08 kB / 0.5356 GB, free: 8.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.355e-05/0.4054, allocations: 55.66 kB / 0.5356 GB, free: 8.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4054, allocations: 1.688 kB / 0.5356 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001521/0.4055, allocations: 78 kB / 0.5357 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4056, allocations: 5.688 kB / 0.5357 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4056, allocations: 9.359 kB / 0.5357 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4056, allocations: 2.75 kB / 0.5357 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.4057, allocations: 12.23 kB / 0.5357 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4057, allocations: 5.312 kB / 0.5357 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.4057, allocations: 11.97 kB / 0.5357 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4058, allocations: 2.75 kB / 0.5357 GB, free: 8.617 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.0001057/0.4059, allocations: 198.6 kB / 0.5359 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.4059, allocations: 107.7 kB / 0.536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.406, allocations: 123.3 kB / 0.5361 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.474e-05/0.4061, allocations: 177.6 kB / 0.5363 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/0.4061, allocations: 185.6 kB / 0.5365 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/0.4062, allocations: 184.2 kB / 0.5367 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.4065, allocations: 437.8 kB / 0.5371 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/0.4065, allocations: 110.3 kB / 0.5372 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.4065, allocations: 105 kB / 0.5373 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.046e-05/0.4066, allocations: 181.8 kB / 0.5375 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.4067, allocations: 185.7 kB / 0.5376 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.926e-05/0.4068, allocations: 177.6 kB / 0.5378 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-05/0.4068, allocations: 180.2 kB / 0.538 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.407, allocations: 321.1 kB / 0.5383 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.4071, allocations: 184.8 kB / 0.5385 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4072, allocations: 181.6 kB / 0.5386 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.4073, allocations: 106.3 kB / 0.5387 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4073, allocations: 180.3 kB / 0.5389 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.4075, allocations: 110.2 kB / 0.539 GB, free: 5.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4076, allocations: 113.1 kB / 0.5391 GB, free: 4.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4076, allocations: 5.312 kB / 0.5391 GB, free: 4.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.408, allocations: 12.38 kB / 0.5391 GB, free: 4.98 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.0004695/0.4084, allocations: 0.808 MB / 0.5399 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4086, allocations: 22.92 kB / 0.54 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4086, allocations: 0 / 0.54 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.4086, allocations: 5.312 kB / 0.54 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.409, allocations: 467.7 kB / 0.5404 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4103, allocations: 1.584 MB / 0.5419 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4106, allocations: 0.6978 MB / 0.5426 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.4106, allocations: 10.73 kB / 0.5426 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.4107, allocations: 22.19 kB / 0.5427 GB, free: 1.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4107, allocations: 0 / 0.5427 GB, free: 1.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.4268, allocations: 1.598 MB / 0.5442 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.067, allocations: 5.203 kB / 0.5442 GB, free: 0.5547 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