Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.2 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.077e-05, allocations: 4.984 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003317/0.003348, allocations: 2.084 MB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.00459, allocations: 0.6386 MB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.004696, allocations: 4 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.143e-05/0.004768, allocations: 23.78 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.004936, allocations: 47.56 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.005359, allocations: 111.7 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.005638, allocations: 187.2 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.005827, allocations: 33.8 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.006167, allocations: 119.7 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.006292, allocations: 59.86 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.00633, allocations: 19.94 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.006413, allocations: 27.88 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.00646, allocations: 39.89 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.006536, allocations: 55.83 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.00679, allocations: 123.6 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006793, allocations: 0 / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006794, allocations: 7.938 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.0068, allocations: 0 / 276.6 MB, free: 13.78 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.0007493/0.007549, allocations: 499.8 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.0076, allocations: 12.03 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.007924, allocations: 48.81 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.008173, allocations: 169.1 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.00819, allocations: 8.375 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.008234, allocations: 12.38 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.008572, allocations: 200.5 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.008585, allocations: 192 / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.008606, allocations: 384 / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.008619, allocations: 7.938 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.008747, allocations: 47.89 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.009593, allocations: 458.5 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.009757, allocations: 63.03 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.009894, allocations: 43.67 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.009917, allocations: 0 / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.009954, allocations: 37.39 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.009955, allocations: 3.938 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002903/0.01024, allocations: 81.58 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.01032, allocations: 114.8 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.0105, allocations: 212.5 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01052, allocations: 25.7 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.01064, allocations: 166.7 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.01067, allocations: 35.88 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.01073, allocations: 35.36 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.01091, allocations: 0.4962 MB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.01096, allocations: 15.98 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.01108, allocations: 125.7 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.0112, allocations: 63.03 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.01121, allocations: 4 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002086/0.01142, allocations: 93.56 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.01143, allocations: 10.5 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01144, allocations: 0 / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.01146, allocations: 4.062 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.01192, allocations: 87.84 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.01356, allocations: 1.878 MB / 281.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.01367, allocations: 15.95 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01369, allocations: 7.984 kB / 281.6 MB, free: 8.348 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.0001115/0.0138, allocations: 160.6 kB / 281.7 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.01384, allocations: 19.83 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.01412, allocations: 110.1 kB / 281.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01412, allocations: 4.062 kB / 281.9 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01412, allocations: 0 / 281.9 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01413, allocations: 0 / 281.9 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.01472, allocations: 408.5 kB / 282.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01472, allocations: 0 / 282.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01483, allocations: 23.97 kB / 282.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.01508, allocations: 47.62 kB / 282.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01509, allocations: 0 / 282.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.01623, allocations: 1.755 MB / 284.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01623, allocations: 128 / 284.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.01661, allocations: 287.6 kB / 284.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.01664, allocations: 15.91 kB / 284.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01666, allocations: 4 kB / 284.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.0168, allocations: 11.92 kB / 284.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.01685, allocations: 7.984 kB / 284.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01686, allocations: 8 kB / 284.4 MB, free: 5.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.01698, allocations: 152.7 kB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01698, allocations: 0 / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005036/0.01748, allocations: 43.97 kB / 284.6 MB, free: 5.086 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.0001328/0.01761, allocations: 99.25 kB / 284.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.01806, allocations: 103.5 kB / 284.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01806, allocations: 0 / 284.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.01833, allocations: 208.7 kB / 285 MB, free: 4.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.01871, allocations: 19.94 kB / 285 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.0199, allocations: 430.9 kB / 285.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.611e-05/0.01995, allocations: 63.34 kB / 285.5 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.02001, allocations: 20.47 kB / 285.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.02006, allocations: 24.42 kB / 285.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of SimCode: time 9.91e-07/0.02006, allocations: 0 / 285.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of Templates: time 0.004854/0.02491, allocations: 1.787 MB / 287.4 MB, free: 2.258 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.1750347707420588]