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.001041/0.001041, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001109/0.001109, allocations: 164.9 kB / 24.82 MB, free: 9.27 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2595/0.2595, allocations: 32.8 MB / 294.6 MB, free: 1.184 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 1.934e-06/1.934e-06, allocations: 0 / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.224e-05, allocations: 5.406 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002036/0.002059, allocations: 1.923 MB / 378.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007245/0.002783, allocations: 0.5918 MB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.002838, allocations: 0 / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.00288, allocations: 15.86 kB / 379 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.003044, allocations: 39.64 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.003235, allocations: 83.75 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003357, allocations: 155.4 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.003447, allocations: 25.28 kB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.003622, allocations: 107.7 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.003694, allocations: 47.88 kB / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.003716, allocations: 15.94 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.35e-05/0.00376, allocations: 23.92 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.003781, allocations: 27.92 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.003817, allocations: 47.89 kB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.003949, allocations: 95.7 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00395, allocations: 0 / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003951, allocations: 0 / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.003958, allocations: 0 / 379.6 MB, free: 1.199 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.0004271/0.004385, allocations: 476 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.004415, allocations: 8.031 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.004561, allocations: 40.81 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.004649, allocations: 136.4 kB / 380.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.00466, allocations: 8.312 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.00468, allocations: 12.38 kB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.004856, allocations: 183.3 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.004865, allocations: 192 / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004873, allocations: 384 / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.00488, allocations: 7.938 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.004929, allocations: 19.97 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.005372, allocations: 383.3 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.613e-05/0.005438, allocations: 51.05 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.005458, allocations: 15.77 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.005471, allocations: 0 / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.005491, allocations: 37.39 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005492, allocations: 3.938 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003575/0.00585, allocations: 125.5 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.005887, allocations: 106.8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.005989, allocations: 208.2 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.006002, allocations: 29.7 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.006059, allocations: 158.9 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.006074, allocations: 23.8 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.006114, allocations: 31.36 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.006214, allocations: 0.5 MB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.006239, allocations: 11.98 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.006299, allocations: 105.8 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.006357, allocations: 54.98 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006358, allocations: 0 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000103/0.006461, allocations: 89.59 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006471, allocations: 4 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006476, allocations: 4 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006485, allocations: 0 / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.006745, allocations: 79.91 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008384/0.007584, allocations: 1.87 MB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.007658, allocations: 19.98 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007666, allocations: 4 kB / 384.4 MB, free: 12.04 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 6.629e-05/0.007732, allocations: 156.6 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.007756, allocations: 16.08 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.007844, allocations: 82.44 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.007845, allocations: 7.875 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.007846, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.007848, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.008096, allocations: 326 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008097, allocations: 0 / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.008152, allocations: 15.98 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008155, allocations: 3.938 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.008161, allocations: 8 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008162, allocations: 3.938 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.008164, allocations: 3.984 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.008269, allocations: 212.2 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.008281, allocations: 11.84 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.008295, allocations: 11.92 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.008364, allocations: 15.98 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.008391, allocations: 3.984 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.008395, allocations: 4 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.008443, allocations: 149.5 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008443, allocations: 4 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000165/0.008608, allocations: 28 kB / 385.4 MB, free: 10.93 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.162e-05/0.008669, allocations: 99.19 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.008932, allocations: 87.59 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008933, allocations: 0 / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.008964, allocations: 27.61 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.009138, allocations: 16.12 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.009657, allocations: 305.5 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.009689, allocations: 63.34 kB / 386 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.009731, allocations: 12.5 kB / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.009835, allocations: 102.2 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009835, allocations: 0 / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003316/0.01315, allocations: 2.012 MB / 388.2 MB, free: 8.18 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: 2.9979979284107685]