Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001026/0.001026, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001104/0.001104, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.068/1.068, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.296/0.296, allocations: 34.26 MB / 296 MB, free: 244 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.945e-05, allocations: 5.969 kB / 378 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.005948/0.005977, allocations: 1.941 MB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.006829, allocations: 0.588 MB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.006891, allocations: 0 / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.006941, allocations: 19.84 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.007128, allocations: 35.7 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.007366, allocations: 83.75 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006213/0.01358, allocations: 155.4 kB / 380.8 MB, free: 24 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.01372, allocations: 29.38 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.01396, allocations: 95.66 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.01406, allocations: 59.8 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.01408, allocations: 12 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.01413, allocations: 19.94 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.01416, allocations: 35.89 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.01421, allocations: 43.84 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.01441, allocations: 107.6 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01441, allocations: 0 / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01441, allocations: 0 / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.01442, allocations: 0 / 381.2 MB, free: 15.63 MB / 362.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.0005691/0.01499, allocations: 468.1 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.01502, allocations: 8.031 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.01524, allocations: 40.86 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.01537, allocations: 132.5 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.01539, allocations: 8.375 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.01542, allocations: 8.312 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.01565, allocations: 179.9 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.01566, allocations: 192 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.01568, allocations: 8.375 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.01569, allocations: 7.922 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.01577, allocations: 31.97 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.01935, allocations: 414.6 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.01946, allocations: 46.98 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.0195, allocations: 19.69 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.01951, allocations: 4 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01953, allocations: 33.39 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.01954, allocations: 0 / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005465/0.02008, allocations: 141.4 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.02013, allocations: 110.8 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.02027, allocations: 208.4 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.02028, allocations: 25.7 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.02036, allocations: 158.9 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.02038, allocations: 31.78 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.02043, allocations: 35.36 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.02054, allocations: 492.1 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.02059, allocations: 19.98 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.02068, allocations: 113.8 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.02077, allocations: 59.03 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.02077, allocations: 3.938 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001645/0.02094, allocations: 101.6 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.02095, allocations: 8.094 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.02096, allocations: 0 / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.02097, allocations: 4 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.02134, allocations: 79.86 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.02557, allocations: 1.882 MB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.02568, allocations: 19.98 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.02569, allocations: 3.984 kB / 386 MB, free: 10.37 MB / 362.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 8.764e-05/0.02577, allocations: 156.6 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.02581, allocations: 19.89 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.02594, allocations: 82.47 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02594, allocations: 4 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.02594, allocations: 0 / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.02595, allocations: 0 / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.02631, allocations: 357.3 kB / 386.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02631, allocations: 4 kB / 386.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.02639, allocations: 15.98 kB / 386.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.02639, allocations: 0 / 386.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.0264, allocations: 4 kB / 386.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0264, allocations: 0 / 386.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.0264, allocations: 4 kB / 386.7 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.02655, allocations: 215.8 kB / 386.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.02657, allocations: 15.89 kB / 386.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.02658, allocations: 4 kB / 386.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.02668, allocations: 11.98 kB / 386.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.02673, allocations: 11.92 kB / 386.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.02674, allocations: 4 kB / 386.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.876e-05/0.02681, allocations: 153.8 kB / 387.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02681, allocations: 0 / 387.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000248/0.02705, allocations: 32 kB / 387.1 MB, free: 9.219 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 (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 9.411e-05/0.02715, allocations: 99.23 kB / 387.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.02752, allocations: 99.47 kB / 387.3 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02753, allocations: 0 / 387.3 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.02757, allocations: 23.69 kB / 387.3 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.02783, allocations: 23.86 kB / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.03161, allocations: 306.3 kB / 387.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.03165, allocations: 63.34 kB / 387.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.03171, allocations: 20.47 kB / 387.7 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.03176, allocations: 16.5 kB / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03176, allocations: 0 / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of Templates: time 0.007073/0.03884, allocations: 1.875 MB / 389.6 MB, free: 6.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3246498329099268]