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.001927/0.001927, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.00229/0.00229, allocations: 160.6 kB / 25.02 MB, free: 9.438 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 1.394/1.394, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.285e-06/2.285e-06, allocations: 0 / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.288e-05, allocations: 5.406 kB / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.006234/0.006267, allocations: 2.528 MB / 252.9 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.008561, allocations: 0.8537 MB / 253.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.008752, allocations: 11.94 kB / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.009069, allocations: 55.39 kB / 253.8 MB, free: 500 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.009502, allocations: 107.2 kB / 253.9 MB, free: 392 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.009874, allocations: 99.73 kB / 254 MB, free: 292 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006437/0.01052, allocations: 358.6 kB / 254.3 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.01076, allocations: 74.03 kB / 254.4 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.01119, allocations: 211.5 kB / 254.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.01147, allocations: 107.7 kB / 254.7 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.01155, allocations: 32 kB / 254.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.01163, allocations: 28 kB / 254.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.01173, allocations: 67.69 kB / 254.8 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.01193, allocations: 115.7 kB / 255 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.01259, allocations: 366.8 kB / 255.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01259, allocations: 0 / 255.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01259, allocations: 0 / 255.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.0126, allocations: 0 / 255.3 MB, free: 14.95 MB / 250.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.001489/0.01409, allocations: 0.5248 MB / 255.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.01414, allocations: 15.98 kB / 255.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01431, allocations: 60.7 kB / 255.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.01486, allocations: 213 kB / 256.1 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.0149, allocations: 21.03 kB / 256.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.01499, allocations: 24.38 kB / 256.2 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.01579, allocations: 272.3 kB / 256.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.0158, allocations: 192 / 256.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.01585, allocations: 12.38 kB / 256.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.01587, allocations: 11.94 kB / 256.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.01663, allocations: 214.5 kB / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.01904, allocations: 0.8017 MB / 257.5 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.01976, allocations: 205 kB / 257.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.0202, allocations: 108.8 kB / 257.8 MB, free: 12.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.02024, allocations: 7.984 kB / 257.8 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/0.02029, allocations: 34.5 kB / 257.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.933e-06/0.0203, allocations: 0 / 257.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.008094/0.02839, allocations: 1.4 MB / 259.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.02846, allocations: 55.41 kB / 259.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.02888, allocations: 228 kB / 259.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.02893, allocations: 29.7 kB / 259.5 MB, free: 10.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.02914, allocations: 184.5 kB / 259.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.02931, allocations: 126.9 kB / 259.8 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.02949, allocations: 62.08 kB / 259.9 MB, free: 10.15 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/0.02974, allocations: 334.8 kB / 260.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.03014, allocations: 116.7 kB / 260.3 MB, free: 9.699 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.03063, allocations: 157.7 kB / 260.5 MB, free: 9.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.03155, allocations: 276 kB / 260.8 MB, free: 9.246 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.03155, allocations: 0 / 260.8 MB, free: 9.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002649/0.0342, allocations: 0.5528 MB / 261.3 MB, free: 8.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.03422, allocations: 4 kB / 261.3 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.03423, allocations: 4 kB / 261.3 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/0.03721, allocations: 337.4 kB / 261.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.03763, allocations: 59.91 kB / 261.7 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.04524, allocations: 3.869 MB / 265.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.04563, allocations: 8 kB / 265.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.04568, allocations: 15.98 kB / 265.6 MB, free: 4.18 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.0002726/0.04595, allocations: 141.8 kB / 265.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.04609, allocations: 43.8 kB / 265.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.04621, allocations: 42.64 kB / 265.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.04623, allocations: 8 kB / 265.8 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.04624, allocations: 7.938 kB / 265.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.04625, allocations: 3.984 kB / 265.8 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.04954, allocations: 0.8552 MB / 266.7 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.04955, allocations: 0 / 266.7 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.04987, allocations: 39.97 kB / 266.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.05265, allocations: 341.6 kB / 267.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.05268, allocations: 8 kB / 267.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007647/0.06033, allocations: 3.85 MB / 270.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.06034, allocations: 3.938 kB / 270.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.06338, allocations: 0.7288 MB / 271.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.06354, allocations: 27.78 kB / 271.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.06361, allocations: 8 kB / 271.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.06399, allocations: 11.98 kB / 271.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.06418, allocations: 39.94 kB / 271.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.06423, allocations: 12 kB / 271.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00032/0.06455, allocations: 165 kB / 271.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06455, allocations: 0 / 271.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001131/0.06568, allocations: 100 kB / 272 MB, free: 13.48 MB / 266.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.0002449/0.06593, allocations: 99.25 kB / 272.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.06782, allocations: 0.5514 MB / 272.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.06782, allocations: 0 / 272.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.06884, allocations: 417.2 kB / 273.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.06936, allocations: 32.61 kB / 273.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.07131, allocations: 0.6625 MB / 273.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.07157, allocations: 172.5 kB / 273.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.0717, allocations: 22.28 kB / 273.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.07177, allocations: 20.5 kB / 274 MB, free: 11.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.07177, allocations: 0 / 274 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01489/0.08666, allocations: 5.666 MB / 279.6 MB, free: 5.734 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=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.693964791018516]