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.001075/0.001075, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001035/0.001035, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.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.269/0.269, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 266.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.152e-06/1.152e-06, allocations: 0 / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.65e-05, allocations: 3.156 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002014/0.002031, allocations: 1.925 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.002784, allocations: 0.5918 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.002857, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.761e-05/0.002915, allocations: 11.86 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.003117, allocations: 43.69 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.003338, allocations: 87.7 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003484, allocations: 159.4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003589, allocations: 21.3 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.003788, allocations: 103.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.003871, allocations: 51.86 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.003894, allocations: 12 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.003942, allocations: 23.94 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.003962, allocations: 27.91 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.004003, allocations: 43.84 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.004158, allocations: 111.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00416, allocations: 0 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004161, allocations: 0 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004165, allocations: 0 / 382 MB, free: 14.86 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.0004922/0.004657, allocations: 468.1 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.004691, allocations: 8.031 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.004845, allocations: 40.88 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.00495, allocations: 136.4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.004963, allocations: 8.375 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.004991, allocations: 12.38 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.005195, allocations: 181.3 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005204, allocations: 192 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.005217, allocations: 384 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.005225, allocations: 7.938 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.005291, allocations: 31.97 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.005812, allocations: 406.7 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.824e-05/0.0059, allocations: 54.98 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.005933, allocations: 19.77 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.005951, allocations: 4 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.005972, allocations: 33.39 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005972, allocations: 3.938 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004562/0.006429, allocations: 153.3 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.006471, allocations: 102.8 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.006582, allocations: 209.8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.006596, allocations: 25.7 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.006666, allocations: 162.9 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.006683, allocations: 15.8 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.006727, allocations: 35.36 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.006875, allocations: 0.4923 MB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.006915, allocations: 11.98 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.007006, allocations: 121.7 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.007086, allocations: 55.09 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007087, allocations: 0 / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001336/0.007221, allocations: 97.55 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007234, allocations: 6.344 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.00724, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.007259, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.007552, allocations: 87.91 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009641/0.008516, allocations: 1.882 MB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.008596, allocations: 20.14 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008603, allocations: 0 / 386.8 MB, free: 9.598 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 7.854e-05/0.008682, allocations: 160.6 kB / 386.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.008708, allocations: 15.89 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-05/0.008807, allocations: 78.38 kB / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.008808, allocations: 0 / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-07/0.008809, allocations: 4 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008813, allocations: 3.984 kB / 387 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.00909, allocations: 357.4 kB / 387.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.009092, allocations: 4 kB / 387.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.009149, allocations: 19.98 kB / 387.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.00915, allocations: 0 / 387.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009159, allocations: 4.266 kB / 387.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009162, allocations: 4 kB / 387.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009163, allocations: 0 / 387.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.009304, allocations: 232 kB / 387.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.009318, allocations: 15.84 kB / 387.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.009328, allocations: 0 / 387.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.009398, allocations: 15.98 kB / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.009446, allocations: 15.92 kB / 387.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.00945, allocations: 0 / 387.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.009519, allocations: 150.2 kB / 387.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009519, allocations: 0 / 387.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.00969, allocations: 32 kB / 387.9 MB, free: 8.434 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 6.267e-05/0.009753, allocations: 91.25 kB / 388 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.01006, allocations: 95.67 kB / 388.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01006, allocations: 0 / 388.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.0101, allocations: 27.67 kB / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.01029, allocations: 19.92 kB / 388.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.01086, allocations: 313.6 kB / 388.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.0109, allocations: 63.34 kB / 388.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.01094, allocations: 4.5 kB / 388.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.01098, allocations: 20.48 kB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01098, allocations: 4 kB / 388.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of Templates: time 0.003248/0.01423, allocations: 1.863 MB / 390.4 MB, free: 5.887 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.270026905927807]