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.0009586/0.0009586, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.0009203/0.0009203, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.8802/0.8802, allocations: 158.6 MB / 187.5 MB, free: 2.957 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 1.402e-06/1.402e-06, allocations: 0 / 251.1 MB, free: 7.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.105e-05, allocations: 6.312 kB / 251.1 MB, free: 7.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.006529/0.00655, allocations: 2.685 MB / 253.8 MB, free: 5.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.01125, allocations: 0.8926 MB / 254.7 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.0114, allocations: 8 kB / 254.7 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.01162, allocations: 51.45 kB / 254.7 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.0119, allocations: 111.2 kB / 254.8 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.01213, allocations: 91.75 kB / 254.9 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.0125, allocations: 370.4 kB / 255.3 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.01266, allocations: 78.03 kB / 255.4 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.01292, allocations: 199.6 kB / 255.5 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.01309, allocations: 119.6 kB / 255.7 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.01314, allocations: 28 kB / 255.7 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.01318, allocations: 28 kB / 255.7 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.01323, allocations: 63.75 kB / 255.8 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.01333, allocations: 111.7 kB / 255.9 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.01359, allocations: 235.1 kB / 256.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.0136, allocations: 4 kB / 256.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0136, allocations: 0 / 256.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.0136, allocations: 0 / 256.1 MB, free: 2.852 MB / 234.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.0007616/0.01436, allocations: 0.6247 MB / 256.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.0144, allocations: 11.98 kB / 256.8 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.01449, allocations: 64.7 kB / 256.8 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.01474, allocations: 208 kB / 257 MB, free: 1.887 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.01476, allocations: 21.03 kB / 257 MB, free: 1.867 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.01481, allocations: 28.38 kB / 257.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.01516, allocations: 221.1 kB / 257.3 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01517, allocations: 4.188 kB / 257.3 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.01519, allocations: 8.375 kB / 257.3 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.01521, allocations: 19.86 kB / 257.3 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.01543, allocations: 111.9 kB / 257.4 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.01968, allocations: 0.8357 MB / 258.3 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.01995, allocations: 162.6 kB / 258.4 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.0201, allocations: 71.66 kB / 258.5 MB, free: 336 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.02012, allocations: 8 kB / 258.5 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.02015, allocations: 41.33 kB / 258.5 MB, free: 276 kB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 2.715e-06/0.02015, allocations: 3.984 kB / 258.5 MB, free: 272 kB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.006256/0.02641, allocations: 1.199 MB / 259.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.02644, allocations: 59.39 kB / 259.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.02665, allocations: 274.7 kB / 260.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.02667, allocations: 33.7 kB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.02679, allocations: 227.2 kB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/0.02687, allocations: 126.9 kB / 260.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.02697, allocations: 71.69 kB / 260.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02712, allocations: 0.5117 MB / 261 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.02724, allocations: 60.64 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.02741, allocations: 123.9 kB / 261.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.0277, allocations: 194.1 kB / 261.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.0277, allocations: 0 / 261.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000947/0.02865, allocations: 435.8 kB / 261.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.02867, allocations: 8 kB / 261.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.02867, allocations: 4 kB / 261.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.02959, allocations: 311.1 kB / 262.1 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.02974, allocations: 55.91 kB / 262.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.03263, allocations: 4.6 MB / 266.8 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.03273, allocations: 8 kB / 266.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.03275, allocations: 12 kB / 266.8 MB, free: 7.578 MB / 250.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.0001129/0.03286, allocations: 180.5 kB / 267 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.03291, allocations: 35.89 kB / 267 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.03295, allocations: 46.58 kB / 267.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.03296, allocations: 4 kB / 267.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.03297, allocations: 3.938 kB / 267.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.03297, allocations: 0 / 267.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.03401, allocations: 0.7915 MB / 267.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.03401, allocations: 0 / 267.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.03412, allocations: 43.91 kB / 267.9 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008053/0.03492, allocations: 311.6 kB / 268.2 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.03494, allocations: 15.98 kB / 268.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.0375, allocations: 4.588 MB / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03751, allocations: 0 / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.03833, allocations: 0.6034 MB / 273.4 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.03835, allocations: 35.73 kB / 273.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.03837, allocations: 7.984 kB / 273.5 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.03847, allocations: 12 kB / 273.5 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.03855, allocations: 31.88 kB / 273.5 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.03856, allocations: 16.03 kB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.584e-05/0.03866, allocations: 196.9 kB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03866, allocations: 0 / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.03903, allocations: 104 kB / 273.8 MB, free: 228 kB / 250.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.0001042/0.03913, allocations: 99.19 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006003/0.03973, allocations: 0.5848 MB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03974, allocations: 0 / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.04007, allocations: 0.495 MB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.04031, allocations: 36.94 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.04139, allocations: 0.6308 MB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.46e-05/0.04147, allocations: 105.2 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.04153, allocations: 22.28 kB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.04157, allocations: 20.5 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04157, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of Templates: time 0.007456/0.04902, allocations: 5.89 MB / 281.7 MB, free: 8.191 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] 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","",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.050514282193035]