Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001874/0.001874, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.002347/0.002347, allocations: 205.9 kB / 24.49 MB, free: 4.145 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.89 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 65.46 MB / 0.5582 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003017/0.3321, allocations: 1.745 MB / 0.5599 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001618/0.3322, allocations: 71.73 kB / 0.56 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.3323, allocations: 4 kB / 0.56 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.3324, allocations: 11.86 kB / 0.56 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.3324, allocations: 27.72 kB / 0.56 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.142e-05/0.3325, allocations: 27.97 kB / 0.5601 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3326, allocations: 99.59 kB / 0.5602 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3328, allocations: 51.94 kB / 0.5602 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.3329, allocations: 39.86 kB / 0.5603 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.333, allocations: 47.78 kB / 0.5603 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.333, allocations: 8 kB / 0.5603 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.333, allocations: 12 kB / 0.5603 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.333, allocations: 23.92 kB / 0.5603 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.3331, allocations: 55.72 kB / 0.5604 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3332, allocations: 121.9 kB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3333, allocations: 4 kB / 0.5605 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3333, allocations: 0 / 0.5605 GB, free: 5.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3333, allocations: 0 / 0.5605 GB, free: 5.426 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.0004844/0.3337, allocations: 322.2 kB / 0.5608 GB, free: 5.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3338, allocations: 8.031 kB / 0.5608 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3338, allocations: 12.84 kB / 0.5608 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3339, allocations: 118.4 kB / 0.561 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.334, allocations: 12.61 kB / 0.561 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.334, allocations: 12.38 kB / 0.561 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3342, allocations: 129.6 kB / 0.5611 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3342, allocations: 192 / 0.5611 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3342, allocations: 11.88 kB / 0.5611 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3342, allocations: 7.984 kB / 0.5611 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3344, allocations: 63.97 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/0.3352, allocations: 0.6914 MB / 0.5619 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3353, allocations: 169.1 kB / 0.562 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.3354, allocations: 80.14 kB / 0.5621 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3354, allocations: 75.28 kB / 0.5622 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.3354, allocations: 117.8 kB / 0.5623 GB, free: 3.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3354, allocations: 0 / 0.5623 GB, free: 3.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.695e-05/0.3355, allocations: 29.7 kB / 0.5623 GB, free: 3.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.3356, allocations: 126.7 kB / 0.5624 GB, free: 3.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3357, allocations: 156.4 kB / 0.5626 GB, free: 3.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3358, allocations: 25.7 kB / 0.5626 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.3358, allocations: 123.8 kB / 0.5627 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.3358, allocations: 8 kB / 0.5627 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3359, allocations: 25.61 kB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.336, allocations: 322.8 kB / 0.5631 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.3361, allocations: 4 kB / 0.5631 GB, free: 2.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.58e-05/0.3361, allocations: 45.16 kB / 0.5631 GB, free: 2.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/0.3362, allocations: 57.02 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3362, allocations: 4 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000147/0.3363, allocations: 73.56 kB / 0.5632 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3363, allocations: 4 kB / 0.5632 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3363, allocations: 4 kB / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3364, allocations: 0 / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.3364, allocations: 8 kB / 0.5632 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3364, allocations: 4 kB / 0.5633 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.3365, allocations: 11.89 kB / 0.5633 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3365, allocations: 15.88 kB / 0.5633 GB, free: 2.34 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.0001249/0.3366, allocations: 201.3 kB / 0.5635 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.3367, allocations: 114 kB / 0.5636 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.3368, allocations: 112.5 kB / 0.5637 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-05/0.3369, allocations: 180.3 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.794e-05/0.3369, allocations: 184.2 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.643e-05/0.337, allocations: 180.2 kB / 0.5642 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3373, allocations: 412.2 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.369e-05/0.3374, allocations: 104.9 kB / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.3374, allocations: 105 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.3375, allocations: 180.4 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.3376, allocations: 184.3 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.941e-05/0.3377, allocations: 188.3 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/0.3378, allocations: 184.2 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.338, allocations: 307.7 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.338, allocations: 116.9 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-05/0.3381, allocations: 180.3 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.3382, allocations: 112.9 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.3383, allocations: 180.3 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.3384, allocations: 105 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.3385, allocations: 109.4 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 3.938 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3387, allocations: 23.94 kB / 0.5666 GB, free: 14.75 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.0001327/0.3389, allocations: 175 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.3389, allocations: 23.92 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3389, allocations: 0 / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.3389, allocations: 0 / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3393, allocations: 452.1 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3398, allocations: 272.5 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3401, allocations: 0.6963 MB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.3401, allocations: 7.438 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3401, allocations: 0 / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Templates: time 0.002376/0.3425, allocations: 0.86 MB / 0.569 GB, free: 12.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 7.523378563113511]