Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000878/0.000878, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 157.3 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9943/0.9943, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.434e-05, allocations: 6.312 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002255/0.00227, allocations: 1.929 MB / 380.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.003062, allocations: 0.5879 MB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.003132, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.003168, allocations: 11.86 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003325, allocations: 47.62 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.003529, allocations: 79.77 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.003656, allocations: 163.3 kB / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.003738, allocations: 21.31 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.003924, allocations: 103.7 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.004002, allocations: 51.86 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.004021, allocations: 12 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.004065, allocations: 23.88 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.00409, allocations: 35.89 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.00413, allocations: 35.92 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004285, allocations: 103.7 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004287, allocations: 0 / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004288, allocations: 7.984 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004291, allocations: 0 / 381.9 MB, free: 15.2 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.000415/0.004706, allocations: 464.1 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.004737, allocations: 8.031 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.004899, allocations: 40.86 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.004995, allocations: 136.4 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.005003, allocations: 8.375 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.005023, allocations: 8.312 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.005203, allocations: 180.5 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.005211, allocations: 192 / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005224, allocations: 8.375 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005229, allocations: 3.938 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.005296, allocations: 39.89 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.005749, allocations: 410.7 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.005824, allocations: 50.98 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.005853, allocations: 19.77 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.005862, allocations: 4 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.005879, allocations: 33.39 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.00588, allocations: 0 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004027/0.006283, allocations: 145.3 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.006319, allocations: 106.8 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.006419, allocations: 209.8 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006432, allocations: 25.7 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.006492, allocations: 158.9 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.006506, allocations: 23.8 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.006548, allocations: 35.36 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006656, allocations: 0.4884 MB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.006692, allocations: 19.98 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.006766, allocations: 113.8 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.411e-05/0.00684, allocations: 59.03 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006841, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001207/0.006961, allocations: 97.55 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.006971, allocations: 4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.006974, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.006982, allocations: 4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.007262, allocations: 75.91 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008931/0.008155, allocations: 1.886 MB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.008238, allocations: 19.98 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.008244, allocations: 0 / 386.8 MB, free: 9.945 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.0001699/0.008414, allocations: 168.7 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.008442, allocations: 19.88 kB / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.008546, allocations: 70.45 kB / 387 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008548, allocations: 4 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.008549, allocations: 3.938 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008552, allocations: 3.984 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.008825, allocations: 353.3 kB / 387.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008826, allocations: 4 kB / 387.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.008883, allocations: 19.98 kB / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.008884, allocations: 0 / 387.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008892, allocations: 7.984 kB / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008893, allocations: 0 / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008893, allocations: 0 / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.009028, allocations: 224 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.00904, allocations: 11.91 kB / 387.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.009055, allocations: 8 kB / 387.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.009128, allocations: 11.98 kB / 387.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.009166, allocations: 7.984 kB / 387.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.009171, allocations: 8 kB / 387.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.009228, allocations: 154.4 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009228, allocations: 0 / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.009407, allocations: 28 kB / 387.9 MB, free: 8.785 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 7.122e-05/0.009478, allocations: 95.25 kB / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.009793, allocations: 91.53 kB / 388 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009794, allocations: 4.125 kB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.009836, allocations: 31.67 kB / 388.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.01003, allocations: 23.86 kB / 388.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.01065, allocations: 301.6 kB / 388.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.01069, allocations: 67.34 kB / 388.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.01073, allocations: 16.47 kB / 388.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.01077, allocations: 12.5 kB / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01077, allocations: 0 / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of Templates: time 0.003348/0.01412, allocations: 1.862 MB / 390.3 MB, free: 6.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.0493177981115878]