Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 215.3 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2546/0.2546, allocations: 46.94 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.88 kB / 0.4966 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3879, allocations: 66.02 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003182/0.3911, allocations: 1.748 MB / 0.5628 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.3913, allocations: 79.66 kB / 0.5629 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.3913, allocations: 0 / 0.5629 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.696e-05/0.3914, allocations: 19.84 kB / 0.5629 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.3915, allocations: 15.8 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.949e-05/0.3916, allocations: 27.97 kB / 0.563 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3917, allocations: 99.58 kB / 0.563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.3919, allocations: 47.95 kB / 0.5631 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.392, allocations: 39.86 kB / 0.5631 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.3921, allocations: 51.78 kB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.3921, allocations: 12 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.3922, allocations: 11.94 kB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.3922, allocations: 23.92 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.3922, allocations: 47.8 kB / 0.5633 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3924, allocations: 125.9 kB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3924, allocations: 0 / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3924, allocations: 0 / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3925, allocations: 0 / 0.5634 GB, free: 2.055 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.0005158/0.393, allocations: 326.2 kB / 0.5637 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.393, allocations: 8.031 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3931, allocations: 20.84 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3932, allocations: 118.4 kB / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3932, allocations: 8.609 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3932, allocations: 8.375 kB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3935, allocations: 121.6 kB / 0.564 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3935, allocations: 4.188 kB / 0.564 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3935, allocations: 19.92 kB / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3935, allocations: 0 / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3936, allocations: 67.92 kB / 0.5641 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.3945, allocations: 0.6837 MB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3947, allocations: 173.1 kB / 0.5649 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.3947, allocations: 84.14 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.3947, allocations: 75.28 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.3948, allocations: 105.8 kB / 0.5651 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3948, allocations: 0 / 0.5651 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.884e-05/0.3949, allocations: 41.62 kB / 0.5652 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.395, allocations: 134.6 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3951, allocations: 153.5 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3951, allocations: 25.7 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.3952, allocations: 119.9 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3952, allocations: 3.938 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.3953, allocations: 29.66 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3954, allocations: 314.8 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.3955, allocations: 12 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.3955, allocations: 45.14 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.3956, allocations: 53.09 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3956, allocations: 0 / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001742/0.3958, allocations: 69.56 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3958, allocations: 8 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3958, allocations: 0 / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3958, allocations: 4.188 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.3959, allocations: 23.92 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3959, allocations: 0 / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.3959, allocations: 11.89 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3959, allocations: 7.938 kB / 0.5662 GB, free: 14.96 MB / 414.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.0001346/0.3961, allocations: 189.2 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.3962, allocations: 117.9 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.3962, allocations: 116.6 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.164e-05/0.3963, allocations: 184.3 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.935e-05/0.3964, allocations: 180.2 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.78e-05/0.3965, allocations: 176.3 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.3968, allocations: 416.1 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.3969, allocations: 105 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.3969, allocations: 112.9 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-05/0.397, allocations: 176.4 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.3971, allocations: 176.3 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.415e-05/0.3972, allocations: 188.2 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.271e-05/0.3972, allocations: 176.4 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3974, allocations: 319.6 kB / 0.5687 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.3975, allocations: 116.9 kB / 0.5688 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/0.3976, allocations: 184.2 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3977, allocations: 109 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.3978, allocations: 180.2 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.3979, allocations: 105 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.398, allocations: 117.9 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.398, allocations: 0 / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3982, allocations: 19.88 kB / 0.5695 GB, free: 11.38 MB / 414.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.0001291/0.3983, allocations: 175 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.3984, allocations: 20.25 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3984, allocations: 4.062 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3984, allocations: 0 / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.3989, allocations: 463.6 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.3993, allocations: 238.8 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3996, allocations: 0.6963 MB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.3996, allocations: 3.984 kB / 0.571 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3997, allocations: 11.44 kB / 0.571 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3997, allocations: 0 / 0.571 GB, free: 9.715 MB / 414.1 MB Notification: Performance of Templates: time 0.002717/0.4024, allocations: 440.9 kB / 0.5714 GB, free: 9.285 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.432027695002034]