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.001564/0.001564, allocations: 120.8 kB / 19.18 MB, free: 3.906 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.001633/0.001633, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.467/1.467, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 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 0.002185/0.002185, allocations: 63.91 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.104, allocations: 53.31 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003622/0.1076, allocations: 2.069 MB / 429.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1089, allocations: 0.6584 MB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1091, allocations: 7.938 kB / 430.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/0.1091, allocations: 19.78 kB / 430.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1093, allocations: 47.62 kB / 430.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1098, allocations: 114.5 kB / 430.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.1101, allocations: 187.2 kB / 430.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1102, allocations: 33.55 kB / 431 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.1105, allocations: 79.7 kB / 431 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1106, allocations: 87.61 kB / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1107, allocations: 16 kB / 431.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.1107, allocations: 23.98 kB / 431.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.1108, allocations: 31.91 kB / 431.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.1109, allocations: 79.59 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1111, allocations: 183.2 kB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1112, allocations: 8 kB / 431.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1112, allocations: 0 / 431.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.1112, allocations: 0 / 431.5 MB, free: 0.8359 MB / 350.1 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.000906/0.1121, allocations: 478.6 kB / 431.9 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1121, allocations: 8.031 kB / 431.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.1125, allocations: 52.8 kB / 432 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1129, allocations: 228.1 kB / 432.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.1129, allocations: 4.422 kB / 432.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1129, allocations: 12.38 kB / 432.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1133, allocations: 160.2 kB / 432.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1133, allocations: 0 / 432.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1133, allocations: 4 kB / 432.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1133, allocations: 4 kB / 432.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1136, allocations: 95.94 kB / 432.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009518/0.1146, allocations: 0.4994 MB / 433 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1149, allocations: 102.5 kB / 433.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1151, allocations: 68.81 kB / 433.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1151, allocations: 0 / 433.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1152, allocations: 42.5 kB / 433.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.1152, allocations: 0 / 433.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004811/0.1156, allocations: 141.5 kB / 433.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.1157, allocations: 110.8 kB / 433.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1159, allocations: 158.2 kB / 433.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1159, allocations: 25.7 kB / 433.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.116, allocations: 119.9 kB / 433.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.116, allocations: 31.88 kB / 433.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.1161, allocations: 33.7 kB / 433.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1162, allocations: 318.8 kB / 434.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1164, allocations: 43.98 kB / 434.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1165, allocations: 80.19 kB / 434.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1168, allocations: 102.8 kB / 434.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1168, allocations: 0 / 434.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003742/0.1172, allocations: 145.5 kB / 434.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1172, allocations: 11.94 kB / 434.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1172, allocations: 0 / 434.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1172, allocations: 4.031 kB / 434.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.1178, allocations: 83.91 kB / 434.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.1194, allocations: 1.5 MB / 436.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1196, allocations: 28.06 kB / 436.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1196, allocations: 11.94 kB / 436.1 MB, free: 11.76 MB / 366.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 (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.0001195/0.1197, allocations: 121.8 kB / 436.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1198, allocations: 11.94 kB / 436.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.1203, allocations: 159.1 kB / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1203, allocations: 0 / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1203, allocations: 3.938 kB / 436.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1203, allocations: 0 / 436.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.1211, allocations: 468 kB / 436.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1211, allocations: 0 / 436.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1212, allocations: 19.98 kB / 436.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.1215, allocations: 28.83 kB / 436.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1215, allocations: 4 kB / 436.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.1227, allocations: 1.391 MB / 438.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1227, allocations: 3.938 kB / 438.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.1233, allocations: 297.1 kB / 438.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.1234, allocations: 93.02 kB / 438.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1234, allocations: 11.94 kB / 438.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1236, allocations: 11.98 kB / 438.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.1236, allocations: 12.05 kB / 438.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1236, allocations: 0 / 438.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1237, allocations: 128.1 kB / 438.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1237, allocations: 0 / 438.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.124, allocations: 35.95 kB / 438.9 MB, free: 8.727 MB / 366.1 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.0001421/0.1242, allocations: 111.2 kB / 439 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007348/0.1249, allocations: 127.9 kB / 439.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1249, allocations: 0 / 439.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.1252, allocations: 170.6 kB / 439.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1255, allocations: 17.11 kB / 439.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.127, allocations: 0.5648 MB / 439.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1274, allocations: 0.7119 MB / 440.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.1274, allocations: 19.42 kB / 440.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1274, allocations: 0 / 440.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of Templates: time 0.00471/0.1321, allocations: 2.257 MB / 442.9 MB, free: 4.672 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/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: 7.030851504998282]