Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.0009424/0.0009424, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.001013/0.001013, allocations: 161.7 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8847/0.8847, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 299.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.685e-05/3.922e-05, allocations: 2.281 kB / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003507/0.003546, allocations: 2.509 MB / 302.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.005488, allocations: 0.8576 MB / 303 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.005819, allocations: 7.938 kB / 303.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.006226, allocations: 67.36 kB / 303.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.006715, allocations: 99.19 kB / 303.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.007187, allocations: 103.7 kB / 303.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000602/0.007789, allocations: 362.5 kB / 303.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.008043, allocations: 77.97 kB / 303.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.008442, allocations: 203.6 kB / 303.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.008657, allocations: 111.6 kB / 304.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.008714, allocations: 28 kB / 304.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.008756, allocations: 32 kB / 304.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.008814, allocations: 67.73 kB / 304.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.008924, allocations: 107.8 kB / 304.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.00944, allocations: 366.8 kB / 304.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.00945, allocations: 0 / 304.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.009454, allocations: 7.984 kB / 304.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.009467, allocations: 0 / 304.6 MB, free: 1.945 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001069/0.01054, allocations: 0.5287 MB / 305.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.01059, allocations: 15.97 kB / 305.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.01068, allocations: 40.64 kB / 305.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.01107, allocations: 208.7 kB / 305.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.0111, allocations: 21.03 kB / 305.5 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.01114, allocations: 24.38 kB / 305.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.01161, allocations: 272.3 kB / 305.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01162, allocations: 192 / 305.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.01164, allocations: 16.38 kB / 305.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01165, allocations: 11.94 kB / 305.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.01195, allocations: 206.5 kB / 306 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.01311, allocations: 0.8055 MB / 306.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.01345, allocations: 190.5 kB / 307 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01364, allocations: 100.8 kB / 307.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.01368, allocations: 4.094 kB / 307.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.01371, allocations: 46.83 kB / 307.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.766e-06/0.01371, allocations: 0 / 307.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.003005/0.01672, allocations: 1.395 MB / 308.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.01676, allocations: 59.34 kB / 308.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.01695, allocations: 220.1 kB / 308.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.01698, allocations: 33.7 kB / 308.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01709, allocations: 188.5 kB / 309 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.01716, allocations: 126.9 kB / 309.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.01725, allocations: 66.03 kB / 309.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01736, allocations: 338.8 kB / 309.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.01752, allocations: 108.7 kB / 309.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.01772, allocations: 161.7 kB / 309.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.01807, allocations: 279.8 kB / 310.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01807, allocations: 0 / 310.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001224/0.01929, allocations: 0.5372 MB / 310.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.01932, allocations: 4 kB / 310.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.01933, allocations: 4 kB / 310.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009539/0.02028, allocations: 241.5 kB / 310.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.02053, allocations: 55.91 kB / 310.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.0243, allocations: 3.846 MB / 314.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.02445, allocations: 12.03 kB / 314.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.02447, allocations: 12 kB / 314.8 MB, free: 7.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.02463, allocations: 149.8 kB / 314.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.02467, allocations: 35.8 kB / 314.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.02472, allocations: 34.94 kB / 315 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.02473, allocations: 4 kB / 315 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.02474, allocations: 7.875 kB / 315 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.02475, allocations: 11.91 kB / 315 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.02595, allocations: 0.8592 MB / 315.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.02596, allocations: 0 / 315.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.02608, allocations: 44.03 kB / 315.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/0.02668, allocations: 241.4 kB / 316.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.0267, allocations: 8 kB / 316.1 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.02971, allocations: 3.831 MB / 320 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.02972, allocations: 0 / 320 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.03073, allocations: 0.7131 MB / 320.7 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.03077, allocations: 27.78 kB / 320.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.03079, allocations: 16.33 kB / 320.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.0309, allocations: 15.94 kB / 320.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.03099, allocations: 27.94 kB / 320.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.031, allocations: 15.94 kB / 320.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.03112, allocations: 165 kB / 321 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03112, allocations: 4 kB / 321 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.03157, allocations: 100 kB / 321.1 MB, free: 0.7578 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.03172, allocations: 103.2 kB / 321.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.03246, allocations: 0.54 MB / 321.7 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.03246, allocations: 0 / 321.7 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.03284, allocations: 425.5 kB / 322.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.03311, allocations: 35.42 kB / 322.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.03408, allocations: 0.6663 MB / 322.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.03422, allocations: 172.3 kB / 323 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.03427, allocations: 20.5 kB / 323 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03427, allocations: 0 / 323 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Templates: time 0.006309/0.04058, allocations: 6.085 MB / 329.1 MB, free: 8.598 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.595740972086787]