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.001288/0.001288, allocations: 84.47 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001379/0.001379, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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.518/1.518, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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.2233/0.2233, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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 1.843e-06/1.843e-06, allocations: 0 / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.865e-05, allocations: 9.656 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003872/0.003901, allocations: 1.86 MB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.005122, allocations: 0.5685 MB / 445.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.005204, allocations: 4 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.511e-05/0.00527, allocations: 11.86 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.005571, allocations: 39.69 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.005889, allocations: 91.14 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.006133, allocations: 163.4 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.006304, allocations: 21.3 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.006639, allocations: 107.7 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.006769, allocations: 47.86 kB / 445.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.006805, allocations: 12 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.00687, allocations: 16 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.006913, allocations: 31.91 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.006984, allocations: 47.84 kB / 445.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.007246, allocations: 147.5 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007249, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007249, allocations: 4 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.007255, allocations: 4 kB / 445.8 MB, free: 2.254 MB / 366.1 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.0009416/0.008196, allocations: 373.8 kB / 446.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.008245, allocations: 8.031 kB / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.008563, allocations: 44.86 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.008737, allocations: 129.6 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.008762, allocations: 8.375 kB / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.008789, allocations: 8.312 kB / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.009209, allocations: 194.6 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.009224, allocations: 4.188 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.009245, allocations: 4.375 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.009259, allocations: 3.938 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.009607, allocations: 91.92 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.01047, allocations: 375.3 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.01082, allocations: 90.52 kB / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.01098, allocations: 44.92 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.01101, allocations: 4 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.01104, allocations: 30.56 kB / 447.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.01104, allocations: 0 / 447.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.00156/0.0126, allocations: 317.1 kB / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.01269, allocations: 106.8 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.01287, allocations: 156.3 kB / 447.8 MB, free: 128 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.0129, allocations: 25.7 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2484/0.2614, allocations: 112.3 kB / 447.9 MB, free: 19.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.2614, allocations: 20.89 kB / 447.9 MB, free: 19.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.774e-05/0.2615, allocations: 25.48 kB / 447.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.2616, allocations: 320.7 kB / 448.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.2618, allocations: 59.19 kB / 448.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.2621, allocations: 150.4 kB / 448.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.2626, allocations: 136.5 kB / 448.6 MB, free: 18.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2626, allocations: 0 / 448.6 MB, free: 18.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005767/0.2632, allocations: 177.3 kB / 448.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2632, allocations: 4.562 kB / 448.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2632, allocations: 1.969 kB / 448.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.2632, allocations: 5.438 kB / 448.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.2639, allocations: 90.81 kB / 448.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.2653, allocations: 1.368 MB / 450.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.2656, allocations: 23.2 kB / 450.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.2656, allocations: 7.312 kB / 450.3 MB, free: 17.6 MB / 366.1 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 0.0001253/0.2657, allocations: 125.6 kB / 450.4 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.2658, allocations: 9.547 kB / 450.4 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.2663, allocations: 170.2 kB / 450.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2663, allocations: 0 / 450.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2663, allocations: 3.844 kB / 450.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.2663, allocations: 0 / 450.6 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007701/0.2671, allocations: 394.2 kB / 451 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2671, allocations: 3.875 kB / 451 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.2673, allocations: 29.19 kB / 451 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2673, allocations: 2.266 kB / 451 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2673, allocations: 5.797 kB / 451 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2673, allocations: 0 / 451 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2673, allocations: 1.812 kB / 451 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.2678, allocations: 249 kB / 451.2 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.2678, allocations: 13.12 kB / 451.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.2678, allocations: 1.812 kB / 451.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.2681, allocations: 25.03 kB / 451.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.2681, allocations: 9.766 kB / 451.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2681, allocations: 1.375 kB / 451.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.2682, allocations: 111.1 kB / 451.4 MB, free: 16.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2682, allocations: 0 / 451.4 MB, free: 16.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.2685, allocations: 33.62 kB / 451.4 MB, free: 16.87 MB / 366.1 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 0.0001023/0.2686, allocations: 98.94 kB / 451.5 MB, free: 16.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009427/0.2695, allocations: 174.5 kB / 451.7 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2695, allocations: 0 / 451.7 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.2698, allocations: 67.61 kB / 451.8 MB, free: 16.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2701, allocations: 11.41 kB / 451.8 MB, free: 16.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2717, allocations: 374.8 kB / 452.1 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2718, allocations: 91.31 kB / 452.2 MB, free: 16.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.2719, allocations: 19.7 kB / 452.3 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.272, allocations: 15.45 kB / 452.3 MB, free: 16.46 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.272, allocations: 0 / 452.3 MB, free: 16.46 MB / 366.1 MB Notification: Performance of Templates: time 0.006867/0.2789, allocations: 1.844 MB / 454.1 MB, free: 16.24 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.093934144824743]