Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001176/0.001176, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001119/0.001119, allocations: 161 kB / 24.56 MB, free: 16 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 1.037/1.037, allocations: 177.1 MB / 205 MB, free: 5.594 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.2822/0.2822, allocations: 32.8 MB / 294.3 MB, free: 1.195 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.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.523e-05, allocations: 5.828 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002661/0.002696, allocations: 1.935 MB / 377.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.003552, allocations: 0.5879 MB / 378.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.003612, allocations: 4 kB / 378.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.003665, allocations: 11.86 kB / 378.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.003879, allocations: 35.66 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.004141, allocations: 91.73 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.004457, allocations: 155.4 kB / 378.8 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004591, allocations: 21.3 kB / 378.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.004826, allocations: 107.8 kB / 378.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.004918, allocations: 55.75 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.004947, allocations: 12 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.005004, allocations: 27.92 kB / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.005028, allocations: 23.92 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.005074, allocations: 43.89 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005265, allocations: 103.7 kB / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005268, allocations: 0 / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005269, allocations: 0 / 379.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.005275, allocations: 0 / 379.2 MB, free: 1.406 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005786/0.005853, allocations: 464.1 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.005901, allocations: 16.02 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.006092, allocations: 44.81 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.006225, allocations: 142.4 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.00624, allocations: 8.375 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.006275, allocations: 12.38 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.006505, allocations: 181.3 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.006516, allocations: 192 / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.006531, allocations: 384 / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.006542, allocations: 7.938 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.006609, allocations: 23.98 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.007202, allocations: 410.6 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.75e-05/0.0073, allocations: 54.98 kB / 380.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.007331, allocations: 15.69 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.007349, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.007375, allocations: 37.39 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007376, allocations: 0 / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005273/0.007903, allocations: 145.4 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.007951, allocations: 106.8 kB / 380.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.008077, allocations: 208.7 kB / 381 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.008093, allocations: 29.7 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.008175, allocations: 162.9 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.008191, allocations: 19.78 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.008237, allocations: 35.36 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.008354, allocations: 0.4923 MB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.008394, allocations: 8 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.008473, allocations: 117.8 kB / 381.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.008551, allocations: 55.05 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008553, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001395/0.008692, allocations: 97.53 kB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.008708, allocations: 10.03 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008714, allocations: 0 / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.008734, allocations: 0 / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.009045, allocations: 75.92 kB / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.01015, allocations: 1.893 MB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.01024, allocations: 15.98 kB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01025, allocations: 4 kB / 384 MB, free: 12.15 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 9.2e-05/0.01034, allocations: 164.5 kB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.01037, allocations: 19.98 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.01049, allocations: 86.48 kB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01049, allocations: 0 / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.0105, allocations: 4.062 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.0105, allocations: 4 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01085, allocations: 357.3 kB / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01085, allocations: 0 / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.01092, allocations: 19.98 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01092, allocations: 0 / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01093, allocations: 4 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01093, allocations: 0 / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01093, allocations: 4 kB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01108, allocations: 227.8 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.01109, allocations: 15.84 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.0111, allocations: 0 / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.01118, allocations: 11.98 kB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.01122, allocations: 11.98 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.01123, allocations: 0 / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.0113, allocations: 147.2 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0113, allocations: 4 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.01148, allocations: 32 kB / 385.1 MB, free: 10.98 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.025e-05/0.01157, allocations: 91.25 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.01191, allocations: 91.55 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01191, allocations: 0 / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.01195, allocations: 27.67 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01217, allocations: 24.06 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.01284, allocations: 305.6 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.01303, allocations: 63.34 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.01308, allocations: 16.47 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.01313, allocations: 16.5 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01313, allocations: 3.938 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.004011/0.01714, allocations: 1.872 MB / 387.6 MB, free: 8.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.276266325265169]