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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00192/0.00192, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002478/0.002478, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.94 MB / 361.5 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 83.86 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3353, allocations: 66.09 MB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003119/0.3384, allocations: 1.657 MB / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.3386, allocations: 71.73 kB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.3387, allocations: 8 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.82e-05/0.3387, allocations: 15.8 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.3388, allocations: 27.77 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.58e-05/0.3389, allocations: 23.97 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.339, allocations: 99.59 kB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.3392, allocations: 43.95 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.3393, allocations: 43.84 kB / 0.5638 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.3394, allocations: 39.78 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3394, allocations: 12 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.3394, allocations: 12 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.3395, allocations: 23.92 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.3395, allocations: 39.86 kB / 0.564 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.3397, allocations: 121.9 kB / 0.5641 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3397, allocations: 3.984 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3397, allocations: 0 / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3397, allocations: 0 / 0.5641 GB, free: 1.691 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.0005057/0.3402, allocations: 322.2 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3402, allocations: 12.03 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.3403, allocations: 16.78 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3404, allocations: 118.4 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3404, allocations: 8.609 kB / 0.5645 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3404, allocations: 12.38 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3407, allocations: 137.5 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3407, allocations: 192 / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3407, allocations: 7.938 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3407, allocations: 4 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3408, allocations: 63.97 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.3416, allocations: 0.6257 MB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3417, allocations: 169.1 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.3418, allocations: 84.08 kB / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.3418, allocations: 75.28 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.3419, allocations: 117.8 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3419, allocations: 3.938 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.745e-05/0.342, allocations: 25.7 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.342, allocations: 126.7 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3422, allocations: 125.7 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3422, allocations: 25.7 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.3423, allocations: 135.9 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.3423, allocations: 4 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.3423, allocations: 21.72 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3425, allocations: 318.7 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.3425, allocations: 15.98 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.3425, allocations: 41.16 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.3426, allocations: 53.09 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3426, allocations: 0 / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001531/0.3428, allocations: 69.56 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3428, allocations: 7.984 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3428, allocations: 4 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3428, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.3429, allocations: 15.94 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3429, allocations: 384 / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.3429, allocations: 16.14 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3429, allocations: 0 / 0.5668 GB, free: 14.71 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.0001321/0.3431, allocations: 197.1 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3431, allocations: 114 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.3432, allocations: 116.2 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/0.3433, allocations: 180.3 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-05/0.3434, allocations: 184.2 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.92e-05/0.3435, allocations: 180.2 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3438, allocations: 380.7 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.241e-05/0.3438, allocations: 109 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.3439, allocations: 105 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.988e-05/0.344, allocations: 184.4 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.344, allocations: 176.3 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.98e-05/0.3441, allocations: 188.2 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.382e-05/0.3442, allocations: 176.3 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3444, allocations: 319.6 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.3445, allocations: 104.9 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3446, allocations: 188.2 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3447, allocations: 105 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.3448, allocations: 180.3 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.3448, allocations: 109 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.3449, allocations: 95.27 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3449, allocations: 0 / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3452, allocations: 23.89 kB / 0.57 GB, free: 11.18 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.0001312/0.3453, allocations: 166.5 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.3454, allocations: 15.94 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3454, allocations: 0 / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3454, allocations: 0 / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3458, allocations: 469.9 kB / 0.5706 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.3462, allocations: 276.4 kB / 0.5709 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.017e-05/0.3463, allocations: 81.31 kB / 0.571 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.3464, allocations: 7.438 kB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3464, allocations: 4 kB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Templates: time 0.002352/0.3487, allocations: 0.8057 MB / 0.5718 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.526922065764666]