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.00155/0.00155, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.003252/0.003252, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.648/1.648, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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.2459/0.2459, allocations: 46.94 MB / 360.8 MB, free: 3.875 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002482/0.002482, allocations: 83.86 kB / 0.4966 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4265, allocations: 66.09 MB / 0.5612 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004217/0.4307, allocations: 1.851 MB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.432, allocations: 0.5464 MB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.4321, allocations: 0 / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.37e-05/0.4321, allocations: 27.84 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.4324, allocations: 35.7 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.4327, allocations: 83.2 kB / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.4329, allocations: 151.4 kB / 0.5638 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.433, allocations: 40.81 kB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.4332, allocations: 75.72 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.4334, allocations: 55.73 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.4334, allocations: 16 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.4335, allocations: 16 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.4335, allocations: 31.91 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.4336, allocations: 55.73 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.4338, allocations: 146.1 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4338, allocations: 0 / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4338, allocations: 0 / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4338, allocations: 0 / 0.5642 GB, free: 0.7695 MB / 398.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.0009754/0.4348, allocations: 377.8 kB / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.4349, allocations: 8.031 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003584/0.4352, allocations: 40.81 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.4355, allocations: 130.4 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4355, allocations: 12.38 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.4355, allocations: 4.375 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.436, allocations: 187.9 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.436, allocations: 0 / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.436, allocations: 8 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4361, allocations: 0 / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.4364, allocations: 97.95 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4375, allocations: 371.1 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.4378, allocations: 102.4 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.438, allocations: 36.92 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.438, allocations: 8 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.438, allocations: 30.56 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.438, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001566/0.4396, allocations: 317.1 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.4397, allocations: 102.8 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.4399, allocations: 164.2 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.4399, allocations: 25.7 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4401, allocations: 112.2 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.4401, allocations: 15.86 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.4402, allocations: 33.7 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4404, allocations: 322.8 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.4406, allocations: 55.95 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.4409, allocations: 147.6 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.4414, allocations: 138.5 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4414, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005479/0.4419, allocations: 177.5 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.4419, allocations: 7.984 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4419, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.442, allocations: 7.938 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.4425, allocations: 91.91 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.4446, allocations: 1.366 MB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4449, allocations: 40.06 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4449, allocations: 0 / 0.5686 GB, free: 11.94 MB / 414.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.0001476/0.445, allocations: 121.8 kB / 0.5687 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.4451, allocations: 11.95 kB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.4456, allocations: 170.2 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4456, allocations: 0 / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.4456, allocations: 0 / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4456, allocations: 0 / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008462/0.4465, allocations: 394 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4465, allocations: 3.938 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4466, allocations: 23.97 kB / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.4466, allocations: 4.281 kB / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4466, allocations: 7.938 kB / 0.5693 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4466, allocations: 0 / 0.5693 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4466, allocations: 0 / 0.5693 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.4472, allocations: 251.3 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.4472, allocations: 7.953 kB / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.4473, allocations: 8 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.4475, allocations: 23.97 kB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.4475, allocations: 3.984 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.4475, allocations: 4 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4477, allocations: 119.2 kB / 0.5697 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4477, allocations: 0 / 0.5697 GB, free: 10.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.4479, allocations: 31.94 kB / 0.5697 GB, free: 10.71 MB / 414.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.0001276/0.4481, allocations: 99.25 kB / 0.5698 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.449, allocations: 167.9 kB / 0.57 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.449, allocations: 4 kB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.4492, allocations: 55.94 kB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4496, allocations: 18.58 kB / 0.57 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4509, allocations: 378.6 kB / 0.5704 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.846e-05/0.451, allocations: 92.75 kB / 0.5705 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.533e-05/0.4511, allocations: 16.36 kB / 0.5705 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.4512, allocations: 15.44 kB / 0.5705 GB, free: 9.824 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4512, allocations: 0 / 0.5705 GB, free: 9.824 MB / 414.1 MB Notification: Performance of Templates: time 0.005644/0.4568, allocations: 1.944 MB / 0.5724 GB, free: 7.883 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.409968469291925]