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.0009004/0.0009004, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009773/0.0009773, allocations: 167.4 kB / 24.99 MB, free: 8.25 MB / 18.57 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2769/0.2769, allocations: 32.81 MB / 294.6 MB, free: 1.207 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.569e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002093/0.002118, allocations: 1.752 MB / 377.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.002295, allocations: 87.62 kB / 377.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.002346, allocations: 4 kB / 377.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.002394, allocations: 15.8 kB / 377.8 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.002455, allocations: 23.78 kB / 377.9 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.63e-05/0.002531, allocations: 23.97 kB / 377.9 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.002635, allocations: 111.3 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.002774, allocations: 47.95 kB / 378 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.00283, allocations: 59.89 kB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.993e-05/0.00291, allocations: 31.89 kB / 378.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.002935, allocations: 12 kB / 378.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.002945, allocations: 8 kB / 378.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.002971, allocations: 23.92 kB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.003008, allocations: 39.91 kB / 378.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003127, allocations: 63.81 kB / 378.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003129, allocations: 7.938 kB / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.00313, allocations: 0 / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.003136, allocations: 3.984 kB / 378.3 MB, free: 2.66 MB / 346.7 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.0003946/0.00353, allocations: 432.5 kB / 378.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.003568, allocations: 8.031 kB / 378.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.003614, allocations: 16.89 kB / 378.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.003718, allocations: 124.5 kB / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.003733, allocations: 4.609 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.003747, allocations: 12.38 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.003903, allocations: 123.1 kB / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.00391, allocations: 192 / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.003923, allocations: 4.375 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.003934, allocations: 4.375 kB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.004002, allocations: 43.91 kB / 379 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.004581, allocations: 0.8116 MB / 379.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.004661, allocations: 269.4 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.004693, allocations: 126.9 kB / 380.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.00472, allocations: 119.2 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.004765, allocations: 168.5 kB / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.004766, allocations: 0 / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 5.626e-05/0.004822, allocations: 29.7 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.004876, allocations: 174.6 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.004986, allocations: 181.8 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.004998, allocations: 25.7 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.005064, allocations: 178.7 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.005067, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.005097, allocations: 27.33 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.005206, allocations: 496.1 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.005216, allocations: 4 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/0.005248, allocations: 62.06 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.0053, allocations: 66.06 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005302, allocations: 0 / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001109/0.005413, allocations: 77.48 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.005428, allocations: 8 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.005433, allocations: 4.188 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.005447, allocations: 4 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.005507, allocations: 15.88 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005512, allocations: 0 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.005534, allocations: 4 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005539, allocations: 4 kB / 381.8 MB, free: 14.8 MB / 362.7 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 8.316e-05/0.005623, allocations: 279.7 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.005673, allocations: 164.7 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.005713, allocations: 152.4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.637e-05/0.005769, allocations: 264.1 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/0.005826, allocations: 272 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/0.005881, allocations: 272.1 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.006053, allocations: 0.5117 MB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/0.006084, allocations: 148.9 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.006115, allocations: 148.8 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-05/0.006171, allocations: 272 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.006228, allocations: 264.1 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.168e-05/0.00628, allocations: 272 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.536e-05/0.006335, allocations: 272.3 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006449, allocations: 444 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.006495, allocations: 164.8 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.006565, allocations: 276 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.006625, allocations: 152.9 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.006685, allocations: 264.1 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.006719, allocations: 148.8 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.513e-05/0.006764, allocations: 135.2 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006764, allocations: 4 kB / 386.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.00692, allocations: 15.95 kB / 386.6 MB, free: 9.805 MB / 362.7 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 9.784e-05/0.007018, allocations: 210.4 kB / 386.8 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.007104, allocations: 35.67 kB / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007106, allocations: 0 / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.007107, allocations: 0 / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.007387, allocations: 0.7023 MB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.007676, allocations: 304.4 kB / 387.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.007708, allocations: 59.34 kB / 387.9 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.934e-05/0.007727, allocations: 3.984 kB / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.007748, allocations: 16.81 kB / 388 MB, free: 8.418 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.007749, allocations: 3.938 kB / 388 MB, free: 8.414 MB / 362.7 MB Notification: Performance of Templates: time 0.001666/0.009415, allocations: 280.4 kB / 388.2 MB, free: 8.145 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.298822643002495]