Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001108/0.001108, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001747/0.002854, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001236/0.001236, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002934, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.045/1.045, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.149, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.285/0.285, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03036/0.3154, allocations: 13.23 MB / 292.8 MB, free: 6.375 MB / 282.7 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.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.366e-05, allocations: 5.641 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003529/0.003552, allocations: 1.984 MB / 296.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.004517, allocations: 0.589 MB / 296.7 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.004581, allocations: 8 kB / 296.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.312e-05/0.004635, allocations: 11.86 kB / 296.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.004758, allocations: 43.62 kB / 296.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.004992, allocations: 79.77 kB / 296.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.005188, allocations: 159.4 kB / 297 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.005297, allocations: 29.95 kB / 297 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.005593, allocations: 119.6 kB / 297.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005704, allocations: 55.81 kB / 297.2 MB, free: 2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.005735, allocations: 16 kB / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.005808, allocations: 16 kB / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.005838, allocations: 19.94 kB / 297.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.005885, allocations: 35.94 kB / 297.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.006067, allocations: 91.67 kB / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.006077, allocations: 0 / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.00608, allocations: 3.984 kB / 297.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.006089, allocations: 0 / 297.3 MB, free: 1.82 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005508/0.00664, allocations: 361.2 kB / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001574/0.006797, allocations: 10.55 kB / 297.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.007065, allocations: 118 kB / 297.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.007186, allocations: 126.4 kB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.0072, allocations: 8.375 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.007228, allocations: 4.375 kB / 297.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.00746, allocations: 181.3 kB / 298.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.007471, allocations: 192 / 298.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.007485, allocations: 4.375 kB / 298.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.007494, allocations: 3.938 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.007557, allocations: 23.92 kB / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.008095, allocations: 283.2 kB / 298.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.008184, allocations: 34.5 kB / 298.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.008208, allocations: 12.95 kB / 298.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.008222, allocations: 3.984 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.008245, allocations: 38.56 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.008246, allocations: 0 / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004885/0.008735, allocations: 121.4 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.008761, allocations: 51.41 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.00886, allocations: 148.7 kB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.008876, allocations: 25.7 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.008942, allocations: 108.2 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.008971, allocations: 20.03 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.009023, allocations: 33.69 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.009103, allocations: 322.6 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.009139, allocations: 7.984 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.009212, allocations: 103.6 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.928e-05/0.009291, allocations: 42.55 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.009292, allocations: 0 / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001234/0.009416, allocations: 73.58 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.009431, allocations: 13.19 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009435, allocations: 96 / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.009447, allocations: 4 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.009846, allocations: 79.92 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009535/0.0108, allocations: 1.276 MB / 300.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.01096, allocations: 15.98 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01097, allocations: 4 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.01104, allocations: 113.8 kB / 301.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.01107, allocations: 12 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.01118, allocations: 70.42 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01119, allocations: 3.938 kB / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.01119, allocations: 4.094 kB / 301.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01119, allocations: 7.938 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.01152, allocations: 230.7 kB / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01152, allocations: 0 / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.01162, allocations: 27.97 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01164, allocations: 15.91 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01164, allocations: 4 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.01165, allocations: 0 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01165, allocations: 0 / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01165, allocations: 4 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.01179, allocations: 155.5 kB / 301.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01181, allocations: 11.94 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.01194, allocations: 11.98 kB / 301.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.01197, allocations: 3.984 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01198, allocations: 4 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.01202, allocations: 36.81 kB / 301.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01202, allocations: 0 / 301.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.01225, allocations: 24 kB / 301.7 MB, free: 13.1 MB / 298.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 (7): * Single equations (assignments): 7 * 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 7.66e-05/0.01232, allocations: 84.42 kB / 301.8 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.01275, allocations: 89.56 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.01275, allocations: 0 / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.01282, allocations: 28.8 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01306, allocations: 87.89 kB / 302 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01417, allocations: 312.4 kB / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.01422, allocations: 63.34 kB / 302.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.01428, allocations: 16.48 kB / 302.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.0144, allocations: 75.34 kB / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01441, allocations: 0 / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Templates: time 0.004187/0.01859, allocations: 1.984 MB / 304.4 MB, free: 10.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.096622133627534]