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.001668/0.001668, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001875/0.001875, allocations: 206 kB / 23.72 MB, free: 4.492 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.559/1.559, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2468/0.2468, allocations: 46.94 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] 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.002769/0.002769, allocations: 83.86 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4124, allocations: 66.08 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00322/0.4156, allocations: 1.674 MB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.4158, allocations: 67.73 kB / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.4159, allocations: 8 kB / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.317e-05/0.4159, allocations: 15.84 kB / 0.5629 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.416, allocations: 23.78 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.655e-05/0.4161, allocations: 27.97 kB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.4163, allocations: 99.53 kB / 0.563 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.4164, allocations: 47.94 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.4165, allocations: 39.86 kB / 0.5631 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.4166, allocations: 35.84 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.4166, allocations: 12 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.4166, allocations: 12 kB / 0.5632 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.4167, allocations: 23.92 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.4167, allocations: 43.8 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.4169, allocations: 121.9 kB / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4169, allocations: 0 / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4169, allocations: 0 / 0.5633 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4169, allocations: 0 / 0.5633 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.0005243/0.4175, allocations: 326.2 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4175, allocations: 12.03 kB / 0.5637 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.4175, allocations: 12.84 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4177, allocations: 118.4 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.4177, allocations: 8.609 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.4177, allocations: 12.38 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4179, allocations: 129.6 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.418, allocations: 192 / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.418, allocations: 7.938 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.418, allocations: 4 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4181, allocations: 67.91 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.4189, allocations: 0.6257 MB / 0.5646 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.419, allocations: 173.1 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.4191, allocations: 84.12 kB / 0.5649 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.4191, allocations: 75.28 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.4192, allocations: 109.8 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4192, allocations: 3.938 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.873e-05/0.4193, allocations: 33.62 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.4193, allocations: 126.7 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4195, allocations: 125.7 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.4195, allocations: 25.7 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.4196, allocations: 139.9 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4196, allocations: 0 / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.4197, allocations: 21.72 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4198, allocations: 318.7 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.4198, allocations: 11.98 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.4199, allocations: 41.16 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.42, allocations: 61.03 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.42, allocations: 0 / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001536/0.4201, allocations: 69.56 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4201, allocations: 4 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4201, allocations: 4 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4202, allocations: 3.984 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.4202, allocations: 12 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4202, allocations: 0 / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.4203, allocations: 12.14 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4203, allocations: 0 / 0.566 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.0001438/0.4204, allocations: 201 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.4205, allocations: 110 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.4206, allocations: 116.2 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.013e-05/0.4206, allocations: 180.2 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-05/0.4207, allocations: 180.4 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.85e-05/0.4208, allocations: 184.2 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.4211, allocations: 380.8 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.007e-05/0.4211, allocations: 105 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.4212, allocations: 112.9 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.507e-05/0.4213, allocations: 176.4 kB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4214, allocations: 184.2 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001523/0.4215, allocations: 180.7 kB / 0.568 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.873e-05/0.4216, allocations: 176.3 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.4219, allocations: 319.6 kB / 0.5685 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.4219, allocations: 104.9 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.422, allocations: 192.2 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4221, allocations: 105 kB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4222, allocations: 180.2 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.4223, allocations: 105 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.4224, allocations: 95.27 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4224, allocations: 0 / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.4226, allocations: 27.89 kB / 0.5693 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.0002362/0.4229, allocations: 166.5 kB / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.423, allocations: 19.88 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.423, allocations: 3.938 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.423, allocations: 0 / 0.5695 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.0004129/0.4234, allocations: 461.9 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.4238, allocations: 254.7 kB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.704e-05/0.4239, allocations: 81.31 kB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.4239, allocations: 0 / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.4239, allocations: 7.438 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4239, allocations: 4 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Templates: time 0.002638/0.4266, allocations: 361.2 kB / 0.5706 GB, free: 9.801 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/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_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: 5.303374005481601]