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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=1256,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=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001202, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3783, allocations: 50.55 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003435/0.3818, allocations: 2.048 MB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.383, allocations: 0.6544 MB / 412 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.3831, allocations: 4 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.3832, allocations: 15.8 kB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.3834, allocations: 43.62 kB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3838, allocations: 119.5 kB / 412.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.3841, allocations: 183.3 kB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.3842, allocations: 49.52 kB / 412.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.3845, allocations: 83.64 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3846, allocations: 79.67 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.3846, allocations: 16 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.3847, allocations: 28 kB / 412.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.3848, allocations: 35.84 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.3849, allocations: 87.52 kB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3852, allocations: 180.5 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3852, allocations: 0 / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3852, allocations: 0 / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.3852, allocations: 0 / 412.9 MB, free: 13.98 MB / 334.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.0008957/0.3861, allocations: 474.9 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3861, allocations: 8.031 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.3865, allocations: 52.72 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3868, allocations: 224 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3869, allocations: 8.375 kB / 413.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3869, allocations: 8.375 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.3872, allocations: 159.4 kB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3872, allocations: 0 / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.3873, allocations: 4 kB / 413.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3873, allocations: 4 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.3876, allocations: 99.88 kB / 413.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.3885, allocations: 0.4992 MB / 414.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.3888, allocations: 106.5 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.389, allocations: 68.83 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.389, allocations: 0 / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3891, allocations: 46.44 kB / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3891, allocations: 0 / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004725/0.3896, allocations: 145.9 kB / 414.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.3896, allocations: 106.8 kB / 414.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3898, allocations: 158.2 kB / 415 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3898, allocations: 29.7 kB / 415 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.3899, allocations: 123.7 kB / 415.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3899, allocations: 19.7 kB / 415.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.39, allocations: 37.64 kB / 415.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3901, allocations: 318.8 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3902, allocations: 43.97 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3904, allocations: 80.2 kB / 415.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.3906, allocations: 102.6 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3907, allocations: 0 / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.391, allocations: 141.5 kB / 415.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.391, allocations: 15.94 kB / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.391, allocations: 0 / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.391, allocations: 0 / 415.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.3916, allocations: 87.84 kB / 416 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.3931, allocations: 1.5 MB / 417.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3933, allocations: 27.98 kB / 417.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3933, allocations: 7.938 kB / 417.5 MB, free: 8.91 MB / 334.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.0001081/0.3934, allocations: 133.7 kB / 417.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.3935, allocations: 7.906 kB / 417.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.3939, allocations: 159.1 kB / 417.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3939, allocations: 0 / 417.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3939, allocations: 3.938 kB / 417.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.394, allocations: 3.984 kB / 417.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.3947, allocations: 464 kB / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3947, allocations: 0 / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3948, allocations: 23.98 kB / 418.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.395, allocations: 36.8 kB / 418.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3951, allocations: 4 kB / 418.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.3961, allocations: 1.395 MB / 419.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3961, allocations: 7.875 kB / 419.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.3967, allocations: 289.1 kB / 420 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.3968, allocations: 85 kB / 420.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3968, allocations: 11.88 kB / 420.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.397, allocations: 20.05 kB / 420.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.397, allocations: 7.938 kB / 420.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.397, allocations: 7.984 kB / 420.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.218e-05/0.3971, allocations: 119.2 kB / 420.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3971, allocations: 0 / 420.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3974, allocations: 39.91 kB / 420.3 MB, free: 5.859 MB / 334.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.0001362/0.3976, allocations: 107.2 kB / 420.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.3983, allocations: 135.8 kB / 420.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3983, allocations: 0 / 420.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.3986, allocations: 167.2 kB / 420.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3989, allocations: 11.94 kB / 420.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4004, allocations: 0.5262 MB / 421.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.4007, allocations: 0.708 MB / 422 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.341e-05/0.4007, allocations: 20.53 kB / 422 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.4008, allocations: 15.42 kB / 422 MB, free: 4.102 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.4008, allocations: 0 / 422 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Templates: time 0.004741/0.4055, allocations: 1.713 MB / 423.7 MB, free: 2.395 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches