Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001908/0.001908, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.001919/0.001919, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.558/1.558, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.551e-05, allocations: 10.31 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00397/0.003996, allocations: 2.038 MB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.005366, allocations: 0.6386 MB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.005446, allocations: 4 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.938e-05/0.005505, allocations: 19.78 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.005665, allocations: 47.56 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.006059, allocations: 107.7 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.006349, allocations: 199.1 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.006484, allocations: 29.8 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.006784, allocations: 119.7 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.006913, allocations: 59.8 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.006951, allocations: 16 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.007035, allocations: 23.94 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.007082, allocations: 35.89 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.007172, allocations: 59.83 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.0075, allocations: 195.3 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.007506, allocations: 4 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.007507, allocations: 0 / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.007514, allocations: 0 / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009016/0.008415, allocations: 0.4917 MB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.00846, allocations: 11.98 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.008853, allocations: 56.8 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.009155, allocations: 164.4 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.009172, allocations: 8.375 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.009208, allocations: 12.38 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.009607, allocations: 214.7 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.009619, allocations: 192 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.009638, allocations: 4.375 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.009648, allocations: 15.94 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.00991, allocations: 79.89 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.01092, allocations: 498.5 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.01121, allocations: 95.02 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.0114, allocations: 63.66 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.01142, allocations: 0 / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.01146, allocations: 41.39 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.01146, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004641/0.01192, allocations: 125.5 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.01201, allocations: 110.8 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01223, allocations: 237.7 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.01226, allocations: 33.7 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.0124, allocations: 174.7 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.01244, allocations: 35.88 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.01251, allocations: 35.36 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.01281, allocations: 0.4962 MB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01293, allocations: 35.98 kB / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.01313, allocations: 141.8 kB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.01338, allocations: 107 kB / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01339, allocations: 0 / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003491/0.01374, allocations: 129.5 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.01376, allocations: 8 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01376, allocations: 0 / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01377, allocations: 0 / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.01438, allocations: 91.89 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.01662, allocations: 1.937 MB / 281.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.01678, allocations: 16.11 kB / 281.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.0168, allocations: 7.984 kB / 281.2 MB, free: 8.34 MB / 266.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 (11): * Single equations (assignments): 10 * 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.0001519/0.01695, allocations: 164.6 kB / 281.4 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.017, allocations: 19.89 kB / 281.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.01747, allocations: 150 kB / 281.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01747, allocations: 0 / 281.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01747, allocations: 0 / 281.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01748, allocations: 4 kB / 281.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.0183, allocations: 456.6 kB / 282 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0183, allocations: 0 / 282 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.01844, allocations: 23.98 kB / 282 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.01877, allocations: 55.61 kB / 282.1 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01878, allocations: 0 / 282.1 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.0204, allocations: 1.779 MB / 283.8 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.02041, allocations: 12.06 kB / 283.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.02107, allocations: 339.1 kB / 284.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.02109, allocations: 7.953 kB / 284.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.02112, allocations: 8 kB / 284.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.02126, allocations: 11.97 kB / 284.2 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.02131, allocations: 11.92 kB / 284.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.02132, allocations: 8.031 kB / 284.2 MB, free: 5.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.02147, allocations: 167.2 kB / 284.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02147, allocations: 0 / 284.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.02178, allocations: 47.83 kB / 284.4 MB, free: 4.875 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.02191, allocations: 95.25 kB / 284.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.02265, allocations: 143.6 kB / 284.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.02265, allocations: 0 / 284.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.02302, allocations: 212.6 kB / 284.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.02328, allocations: 26.73 kB / 284.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.02459, allocations: 436.4 kB / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.0247, allocations: 101.6 kB / 285.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.02476, allocations: 12.48 kB / 285.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.02481, allocations: 20.5 kB / 285.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02481, allocations: 0 / 285.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of Templates: time 0.006249/0.03106, allocations: 1.815 MB / 287.3 MB, free: 1.957 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.358117030933499]