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.001448/0.001448, allocations: 111.7 kB / 18.45 MB, free: 4.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 209.9 kB / 19.4 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2982, allocations: 62.44 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003022/0.3013, allocations: 1.904 MB / 0.5335 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.3023, allocations: 0.5851 MB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.3023, allocations: 1.375 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.3024, allocations: 17.23 kB / 0.5341 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.3026, allocations: 41.12 kB / 0.5341 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.3029, allocations: 93.95 kB / 0.5342 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.3031, allocations: 153.3 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3032, allocations: 32.22 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.3034, allocations: 73.95 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.3036, allocations: 70.98 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3036, allocations: 16.31 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.3036, allocations: 14.78 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.3037, allocations: 27.89 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.3037, allocations: 61.16 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3039, allocations: 149.9 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.304, allocations: 1.062 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.304, allocations: 0 / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.304, allocations: 0 / 0.5348 GB, free: 11.12 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.0007837/0.3048, allocations: 448 kB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3048, allocations: 10.25 kB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.3051, allocations: 45.84 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3053, allocations: 184.9 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3053, allocations: 7.688 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3054, allocations: 18.02 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3057, allocations: 139.4 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3057, allocations: 1.125 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3057, allocations: 1.062 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3057, allocations: 5.25 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.3061, allocations: 96.23 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.3069, allocations: 450.2 kB / 0.5361 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.3072, allocations: 94.45 kB / 0.5362 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3074, allocations: 41.23 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3074, allocations: 5.359 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3074, allocations: 35.94 kB / 0.5363 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3075, allocations: 0 / 0.5363 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001387/0.3088, allocations: 316 kB / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3089, allocations: 109.2 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.309, allocations: 148.5 kB / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3091, allocations: 25.7 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.3091, allocations: 114.9 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3092, allocations: 25.89 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3092, allocations: 33.92 kB / 0.537 GB, free: 9.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.3093, allocations: 321.2 kB / 0.5373 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.3096, allocations: 59.28 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3099, allocations: 102.5 kB / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.3103, allocations: 134.5 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3103, allocations: 0 / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005486/0.3109, allocations: 173.6 kB / 0.5378 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3109, allocations: 12.09 kB / 0.5378 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3109, allocations: 5.406 kB / 0.5378 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3109, allocations: 1.406 kB / 0.5378 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.3115, allocations: 82.53 kB / 0.5379 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.3129, allocations: 1.499 MB / 0.5394 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3132, allocations: 27.53 kB / 0.5394 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3132, allocations: 6.422 kB / 0.5394 GB, free: 6.91 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.0001002/0.3133, allocations: 130.9 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3134, allocations: 8.344 kB / 0.5395 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.3139, allocations: 166.2 kB / 0.5397 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3139, allocations: 1.375 kB / 0.5397 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3139, allocations: 4.062 kB / 0.5397 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3139, allocations: 0 / 0.5397 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/0.3147, allocations: 471.3 kB / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3147, allocations: 0 / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.3149, allocations: 26.61 kB / 0.5402 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3149, allocations: 5.484 kB / 0.5402 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3149, allocations: 288 / 0.5402 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3149, allocations: 3.938 kB / 0.5402 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.315, allocations: 1.25 kB / 0.5402 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.3155, allocations: 251.3 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.3156, allocations: 86.75 kB / 0.5405 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3156, allocations: 5.375 kB / 0.5405 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3158, allocations: 26.06 kB / 0.5405 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.3159, allocations: 12.05 kB / 0.5405 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3159, allocations: 5.594 kB / 0.5405 GB, free: 5.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.316, allocations: 116.2 kB / 0.5406 GB, free: 5.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.316, allocations: 0 / 0.5406 GB, free: 5.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3163, allocations: 30.06 kB / 0.5407 GB, free: 5.82 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 8.772e-05/0.3164, allocations: 93.59 kB / 0.5408 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009005/0.3173, allocations: 175.4 kB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3173, allocations: 1.125 kB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.3175, allocations: 71.59 kB / 0.541 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3179, allocations: 10.09 kB / 0.541 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.3192, allocations: 409.7 kB / 0.5414 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3194, allocations: 0.7001 MB / 0.5421 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.3195, allocations: 12.78 kB / 0.5421 GB, free: 4.637 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3195, allocations: 5 kB / 0.5421 GB, free: 4.633 MB / 398.1 MB Notification: Performance of Templates: time 0.003712/0.3232, allocations: 1.834 MB / 0.5439 GB, free: 3.672 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches