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.001536/0.001536, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001537/0.001537, allocations: 161.7 kB / 24.27 MB, free: 176 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3908/0.3908, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/3.906e-05, allocations: 2.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003618/0.003657, allocations: 1.864 MB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.004933, allocations: 0.557 MB / 379.7 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.005048, allocations: 0 / 379.7 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.245e-05/0.005121, allocations: 23.8 kB / 379.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.005377, allocations: 39.69 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.005702, allocations: 87.7 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.005955, allocations: 159.4 kB / 380 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.006079, allocations: 21.17 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.006378, allocations: 103.7 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.006511, allocations: 55.86 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.006549, allocations: 12 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.006619, allocations: 16 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.006661, allocations: 31.89 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.006751, allocations: 39.86 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.007043, allocations: 167.4 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.007046, allocations: 0 / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007047, allocations: 0 / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.007052, allocations: 0 / 380.4 MB, free: 15.82 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.0008939/0.007946, allocations: 373.8 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.007986, allocations: 12.03 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.008331, allocations: 44.86 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.008536, allocations: 129.6 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.008556, allocations: 4.375 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.008599, allocations: 16.36 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.009022, allocations: 188.1 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.009033, allocations: 192 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.009049, allocations: 384 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.009059, allocations: 7.938 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.009421, allocations: 91.92 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009073/0.01033, allocations: 375.4 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.01068, allocations: 86.52 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.01086, allocations: 44.92 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.01087, allocations: 3.938 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.01091, allocations: 34.56 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.01091, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001545/0.01246, allocations: 317.1 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.01254, allocations: 106.8 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01271, allocations: 149.6 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.01275, allocations: 33.7 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01285, allocations: 116.1 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.01288, allocations: 23.8 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.01296, allocations: 29.7 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.01314, allocations: 322.8 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.01339, allocations: 59.95 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.01371, allocations: 143.6 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.01419, allocations: 142.4 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01419, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005922/0.01479, allocations: 177.5 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.0148, allocations: 6.344 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.01482, allocations: 7.984 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01483, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.01546, allocations: 91.91 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.0174, allocations: 1.37 MB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.01765, allocations: 32.25 kB / 384.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01767, allocations: 4 kB / 384.9 MB, free: 10.98 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 0.000128/0.0178, allocations: 117.8 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.01785, allocations: 15.89 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.01841, allocations: 174.3 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01841, allocations: 0 / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01841, allocations: 0 / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01842, allocations: 0 / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.01931, allocations: 386.1 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01931, allocations: 0 / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.01949, allocations: 31.91 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01949, allocations: 0 / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.01951, allocations: 4 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01951, allocations: 4 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01951, allocations: 0 / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.02013, allocations: 251.3 kB / 385.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.02016, allocations: 11.91 kB / 385.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.02018, allocations: 0 / 385.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.02041, allocations: 27.97 kB / 385.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.02047, allocations: 11.92 kB / 385.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.02048, allocations: 4 kB / 385.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.02061, allocations: 113.8 kB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02061, allocations: 0 / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.0209, allocations: 28 kB / 386.1 MB, free: 9.762 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 0.0001243/0.02103, allocations: 99.19 kB / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009523/0.02198, allocations: 167.8 kB / 386.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02198, allocations: 0 / 386.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.02225, allocations: 72 kB / 386.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.02263, allocations: 15.94 kB / 386.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.02409, allocations: 376.6 kB / 386.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.02419, allocations: 84.31 kB / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.02427, allocations: 12.5 kB / 386.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.02434, allocations: 20.48 kB / 386.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02434, allocations: 3.938 kB / 386.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of Templates: time 0.005855/0.0302, allocations: 1.862 MB / 388.8 MB, free: 7.012 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=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: 4.94463664398063]