Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002415/0.002415, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.782e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003523/0.00355, allocations: 1.958 MB / 269.3 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004667, allocations: 0.5413 MB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.004737, allocations: 4 kB / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.669e-05/0.004804, allocations: 23.78 kB / 269.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.00495, allocations: 43.58 kB / 269.9 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.005278, allocations: 91.72 kB / 270 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.005528, allocations: 195.2 kB / 270.2 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.005667, allocations: 41.59 kB / 270.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.005908, allocations: 115.7 kB / 270.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.006023, allocations: 59.8 kB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.006063, allocations: 16 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.006097, allocations: 16 kB / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.006143, allocations: 35.89 kB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.006225, allocations: 55.84 kB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.006499, allocations: 183.3 kB / 270.7 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.006504, allocations: 3.984 kB / 270.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006505, allocations: 4 kB / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.00651, allocations: 0 / 270.7 MB, free: 3.301 MB / 250.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.000872/0.007382, allocations: 389.6 kB / 271.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.007423, allocations: 8.031 kB / 271.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.007508, allocations: 20.84 kB / 271.1 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.007699, allocations: 149.5 kB / 271.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.007718, allocations: 8.375 kB / 271.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.007761, allocations: 8.375 kB / 271.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.008164, allocations: 200.2 kB / 271.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.008177, allocations: 192 / 271.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.008197, allocations: 4.375 kB / 271.5 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.008204, allocations: 3.938 kB / 271.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.008515, allocations: 99.8 kB / 271.6 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.009478, allocations: 423.2 kB / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.009817, allocations: 102.5 kB / 272.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.01004, allocations: 64.83 kB / 272.2 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01006, allocations: 0 / 272.2 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.01009, allocations: 34.56 kB / 272.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.01009, allocations: 0 / 272.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005548/0.01065, allocations: 157.5 kB / 272.3 MB, free: 1.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.01073, allocations: 106.8 kB / 272.5 MB, free: 1.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01091, allocations: 156.1 kB / 272.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.01094, allocations: 29.7 kB / 272.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.01104, allocations: 116 kB / 272.7 MB, free: 1.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.01108, allocations: 35.88 kB / 272.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.01114, allocations: 29.7 kB / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01133, allocations: 326.8 kB / 273.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.01147, allocations: 35.92 kB / 273.2 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.01168, allocations: 131.7 kB / 273.3 MB, free: 496 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.01198, allocations: 102.5 kB / 273.4 MB, free: 384 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01198, allocations: 0 / 273.4 MB, free: 384 kB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004004/0.01238, allocations: 153.5 kB / 273.5 MB, free: 224 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.0124, allocations: 4 kB / 273.5 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.0124, allocations: 0 / 273.5 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.01243, allocations: 0 / 273.5 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.01306, allocations: 91.88 kB / 273.6 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.01498, allocations: 1.378 MB / 275 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.01517, allocations: 23.88 kB / 275 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01518, allocations: 4 kB / 275 MB, free: 14.61 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.0001389/0.01532, allocations: 117.8 kB / 275.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.01537, allocations: 19.89 kB / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.01589, allocations: 159.2 kB / 275.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.01589, allocations: 4 kB / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01589, allocations: 0 / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0159, allocations: 0 / 275.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.01671, allocations: 392.2 kB / 275.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01671, allocations: 0 / 275.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.01687, allocations: 31.97 kB / 275.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000315/0.01718, allocations: 32.83 kB / 275.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.01721, allocations: 12.03 kB / 275.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.01852, allocations: 1.268 MB / 277.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01852, allocations: 32 / 277.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.01921, allocations: 305.2 kB / 277.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.01923, allocations: 19.86 kB / 277.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.01926, allocations: 4 kB / 277.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.01944, allocations: 15.98 kB / 277.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.01948, allocations: 12.05 kB / 277.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01949, allocations: 0 / 277.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.01961, allocations: 130 kB / 277.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01961, allocations: 3.938 kB / 277.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.01992, allocations: 32 kB / 277.6 MB, free: 11.89 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.0001543/0.02007, allocations: 99.25 kB / 277.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.02082, allocations: 135.8 kB / 277.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02082, allocations: 0 / 277.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.02119, allocations: 154.3 kB / 278 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.02146, allocations: 24.28 kB / 278 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.02317, allocations: 0.4889 MB / 278.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.02329, allocations: 105.6 kB / 278.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.919e-05/0.02335, allocations: 8.5 kB / 278.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.0234, allocations: 16.48 kB / 278.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.0234, allocations: 0 / 278.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Templates: time 0.005449/0.02885, allocations: 1.767 MB / 280.4 MB, free: 9.043 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.409051121096127]