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.001265/0.001265, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001228/0.001228, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9799/0.9799, allocations: 177.1 MB / 205 MB, free: 5.633 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.2582/0.2582, allocations: 34.27 MB / 295.7 MB, free: 0.668 MB / 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.084e-06/2.084e-06, allocations: 0 / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.189e-05, allocations: 2.312 kB / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.005811/0.005843, allocations: 1.935 MB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.006757, allocations: 0.588 MB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.006822, allocations: 0 / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.469e-05/0.006877, allocations: 15.86 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.007082, allocations: 43.62 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.01041, allocations: 79.77 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.01059, allocations: 159.4 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.01071, allocations: 21.3 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.01095, allocations: 107.7 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.01104, allocations: 55.8 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.01107, allocations: 12 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.01112, allocations: 19.94 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.01115, allocations: 27.91 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.0112, allocations: 51.84 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.01141, allocations: 99.69 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01142, allocations: 0 / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01142, allocations: 0 / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01142, allocations: 0 / 381.2 MB, free: 15.4 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.0007642/0.01219, allocations: 476 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01223, allocations: 8.031 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.01245, allocations: 40.88 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.01258, allocations: 132.4 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.0126, allocations: 12.38 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.01262, allocations: 4.375 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.01288, allocations: 185.3 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01289, allocations: 192 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.01291, allocations: 4.375 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01292, allocations: 3.938 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.013, allocations: 34.31 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.01664, allocations: 406.7 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.01674, allocations: 47.05 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.01678, allocations: 19.77 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.01679, allocations: 4 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.01682, allocations: 41.31 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.01682, allocations: 0 / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000556/0.01737, allocations: 141.3 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.01742, allocations: 106.8 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.01755, allocations: 208.5 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01757, allocations: 37.7 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.01764, allocations: 154.9 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.01766, allocations: 23.8 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.01772, allocations: 31.36 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01783, allocations: 0.4923 MB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.01788, allocations: 19.92 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.01797, allocations: 109.8 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.01806, allocations: 62.98 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01806, allocations: 0 / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001652/0.01822, allocations: 97.58 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01824, allocations: 4 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01824, allocations: 4 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01826, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.01862, allocations: 79.91 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.0198, allocations: 1.889 MB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.0199, allocations: 11.98 kB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01992, allocations: 8 kB / 386.1 MB, free: 10.14 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.448e-05/0.02, allocations: 156.7 kB / 386.2 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.02004, allocations: 19.89 kB / 386.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.02017, allocations: 82.38 kB / 386.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.02017, allocations: 0 / 386.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.02017, allocations: 0 / 386.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.02017, allocations: 0 / 386.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.02052, allocations: 357.4 kB / 386.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02052, allocations: 0 / 386.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/0.0206, allocations: 24.2 kB / 386.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.0206, allocations: 0 / 386.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.02061, allocations: 4 kB / 386.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02061, allocations: 3.984 kB / 386.7 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02062, allocations: 0 / 386.7 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.02077, allocations: 219.8 kB / 386.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.02079, allocations: 15.84 kB / 386.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.0208, allocations: 4 kB / 386.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.0209, allocations: 15.98 kB / 387 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.02094, allocations: 3.984 kB / 387 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.02095, allocations: 4 kB / 387 MB, free: 9.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.158e-05/0.02102, allocations: 151.2 kB / 387.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02102, allocations: 4 kB / 387.1 MB, free: 9.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.02127, allocations: 27.94 kB / 387.1 MB, free: 8.988 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.121e-05/0.02136, allocations: 103.2 kB / 387.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.02173, allocations: 91.59 kB / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02173, allocations: 0 / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.02178, allocations: 31.61 kB / 387.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.02204, allocations: 20.69 kB / 387.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.02275, allocations: 297.6 kB / 387.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.02279, allocations: 63.34 kB / 387.7 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.02284, allocations: 12.5 kB / 387.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.0229, allocations: 24.48 kB / 387.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0229, allocations: 0 / 387.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of Templates: time 0.004489/0.02739, allocations: 1.991 MB / 389.8 MB, free: 6.309 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.1548652998171747]