Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 197.2 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.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 79.88 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4801, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003524/0.4837, allocations: 1.906 MB / 0.5328 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4849, allocations: 0.59 MB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.485, allocations: 1.125 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.17e-05/0.4851, allocations: 13.17 kB / 0.5334 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.4854, allocations: 41.59 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.4857, allocations: 80.14 kB / 0.5335 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.4859, allocations: 169.4 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.4861, allocations: 31.62 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.4863, allocations: 74.58 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.4864, allocations: 65.56 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.4865, allocations: 12.66 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.4866, allocations: 15.56 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.4866, allocations: 36.02 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.4867, allocations: 52.23 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.4869, allocations: 154.3 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4869, allocations: 0 / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4869, allocations: 3.938 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.487, allocations: 1.375 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008463/0.4878, allocations: 443.5 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4879, allocations: 9.625 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.4882, allocations: 42.84 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.4884, allocations: 192.4 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4884, allocations: 3.125 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4885, allocations: 9.875 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.4888, allocations: 148.4 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4888, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4889, allocations: 1.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4889, allocations: 6.734 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.4892, allocations: 98.8 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.4901, allocations: 438.7 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.4904, allocations: 94.58 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.4905, allocations: 40.8 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4906, allocations: 5.062 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4906, allocations: 35.72 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4906, allocations: 0 / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001347/0.492, allocations: 317.2 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.4921, allocations: 107.9 kB / 0.536 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4922, allocations: 147.2 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.4922, allocations: 25.7 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.4923, allocations: 118.7 kB / 0.5363 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.4924, allocations: 25.92 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.4924, allocations: 33.58 kB / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4926, allocations: 321.1 kB / 0.5367 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4928, allocations: 60.3 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.493, allocations: 93.55 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.4935, allocations: 138.5 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4935, allocations: 5.125 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005599/0.494, allocations: 170.1 kB / 0.5371 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.4941, allocations: 8.875 kB / 0.5371 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4941, allocations: 1.219 kB / 0.5371 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.4941, allocations: 9.047 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.4948, allocations: 83.22 kB / 0.5372 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.4966, allocations: 1.51 MB / 0.5387 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4968, allocations: 27.62 kB / 0.5387 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.4968, allocations: 2.781 kB / 0.5387 GB, free: 6.945 MB / 398.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 (9): * Single equations (assignments): 8 * 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.0001439/0.497, allocations: 123.1 kB / 0.5388 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.497, allocations: 9.062 kB / 0.5389 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.4976, allocations: 169.2 kB / 0.539 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4976, allocations: 1.031 kB / 0.539 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.4976, allocations: 1.125 kB / 0.539 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4976, allocations: 0 / 0.539 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.4985, allocations: 463 kB / 0.5395 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4985, allocations: 0 / 0.5395 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4987, allocations: 26.56 kB / 0.5395 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4987, allocations: 5.188 kB / 0.5395 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4987, allocations: 3.938 kB / 0.5395 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4987, allocations: 5.094 kB / 0.5395 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4987, allocations: 0 / 0.5395 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.4993, allocations: 251.4 kB / 0.5397 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.4994, allocations: 83.23 kB / 0.5398 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.4995, allocations: 5.156 kB / 0.5398 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4997, allocations: 25.97 kB / 0.5398 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.4997, allocations: 7.734 kB / 0.5399 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4998, allocations: 5.312 kB / 0.5399 GB, free: 5.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4999, allocations: 124.6 kB / 0.54 GB, free: 5.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4999, allocations: 0 / 0.54 GB, free: 5.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.5002, allocations: 30.06 kB / 0.54 GB, free: 5.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.5004, allocations: 97.28 kB / 0.5401 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009317/0.5013, allocations: 174.1 kB / 0.5403 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5013, allocations: 0 / 0.5403 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5016, allocations: 69.3 kB / 0.5403 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.502, allocations: 15.36 kB / 0.5403 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.5034, allocations: 377.7 kB / 0.5407 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.5038, allocations: 0.7001 MB / 0.5414 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.724e-05/0.5039, allocations: 20.25 kB / 0.5414 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.5039, allocations: 12.03 kB / 0.5414 GB, free: 4.703 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5039, allocations: 0 / 0.5414 GB, free: 4.703 MB / 398.1 MB Notification: Performance of Templates: time 0.004929/0.5089, allocations: 1.731 MB / 0.5431 GB, free: 3.812 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches