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.001367/0.001367, allocations: 82.66 kB / 21.43 MB, free: 296 kB / 14.72 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.001469/0.001469, allocations: 161.5 kB / 24.7 MB, free: 3.551 MB / 14.72 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.348/1.348, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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 1.423e-06/1.423e-06, allocations: 0 / 298.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.724e-05, allocations: 2.281 kB / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004002/0.004029, allocations: 2.505 MB / 301.4 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.005535, allocations: 0.8614 MB / 302.3 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.005668, allocations: 4 kB / 302.3 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.005911, allocations: 55.44 kB / 302.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.006194, allocations: 107.1 kB / 302.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.006452, allocations: 103.7 kB / 302.6 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.00686, allocations: 370.4 kB / 302.9 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.00704, allocations: 81.95 kB / 303 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.00735, allocations: 195.6 kB / 303.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.007559, allocations: 115.6 kB / 303.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.007616, allocations: 28 kB / 303.3 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.635e-05/0.007672, allocations: 28 kB / 303.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.007743, allocations: 71.73 kB / 303.4 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.007869, allocations: 111.7 kB / 303.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.008311, allocations: 366.8 kB / 303.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.008314, allocations: 0 / 303.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008315, allocations: 0 / 303.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.008321, allocations: 3.938 kB / 303.9 MB, free: 3.742 MB / 286.1 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.001081/0.009401, allocations: 0.5365 MB / 304.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.009441, allocations: 11.98 kB / 304.5 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.009521, allocations: 36.7 kB / 304.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.009873, allocations: 208.7 kB / 304.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.009905, allocations: 21.03 kB / 304.7 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.009964, allocations: 28.36 kB / 304.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.0105, allocations: 268.4 kB / 305 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01051, allocations: 8.172 kB / 305 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.01054, allocations: 12.38 kB / 305 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.01055, allocations: 7.938 kB / 305 MB, free: 2.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.01102, allocations: 214.5 kB / 305.2 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.01265, allocations: 0.8055 MB / 306 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.01313, allocations: 193 kB / 306.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.01341, allocations: 100.8 kB / 306.3 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.01344, allocations: 7.984 kB / 306.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.01348, allocations: 34.5 kB / 306.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.01348, allocations: 4 kB / 306.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.005376/0.01886, allocations: 1.38 MB / 307.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.0189, allocations: 55.41 kB / 307.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.01915, allocations: 232.1 kB / 308 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.01918, allocations: 29.7 kB / 308.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.0193, allocations: 184.5 kB / 308.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.0194, allocations: 122.9 kB / 308.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.01951, allocations: 66.03 kB / 308.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.01966, allocations: 342.8 kB / 308.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.01991, allocations: 108.7 kB / 308.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.02019, allocations: 161.7 kB / 309 MB, free: 14.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.02073, allocations: 287.8 kB / 309.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.02073, allocations: 0 / 309.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001592/0.02233, allocations: 0.5294 MB / 309.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.02234, allocations: 4 kB / 309.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.02235, allocations: 0 / 309.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.0236, allocations: 253.4 kB / 310.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.02388, allocations: 59.89 kB / 310.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.02923, allocations: 3.834 MB / 314 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.02949, allocations: 8.031 kB / 314 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.02952, allocations: 20.27 kB / 314 MB, free: 9.141 MB / 302.1 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.0002162/0.02974, allocations: 153.8 kB / 314.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.02981, allocations: 27.81 kB / 314.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.02991, allocations: 42.59 kB / 314.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.02992, allocations: 11.92 kB / 314.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.02992, allocations: 0 / 314.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02993, allocations: 0 / 314.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.03211, allocations: 0.8554 MB / 315.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.03212, allocations: 4 kB / 315.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.03234, allocations: 47.97 kB / 315.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.03364, allocations: 233.5 kB / 315.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.03366, allocations: 11.94 kB / 315.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/0.03846, allocations: 3.827 MB / 319.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.03846, allocations: 288 / 319.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.04042, allocations: 0.7247 MB / 319.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.04047, allocations: 31.89 kB / 320 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.04051, allocations: 11.94 kB / 320 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.04074, allocations: 8 kB / 320 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.04084, allocations: 35.94 kB / 320 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.04086, allocations: 11.98 kB / 320 MB, free: 2.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.04103, allocations: 161 kB / 320.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04103, allocations: 0 / 320.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006301/0.04166, allocations: 104 kB / 320.3 MB, free: 2.566 MB / 302.1 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.000153/0.04182, allocations: 111.1 kB / 320.4 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.04287, allocations: 0.5438 MB / 320.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.04287, allocations: 0 / 320.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.04353, allocations: 429.4 kB / 321.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.04388, allocations: 20.67 kB / 321.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.04518, allocations: 0.6413 MB / 322 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.04536, allocations: 168.3 kB / 322.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.04545, allocations: 30.22 kB / 322.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.04551, allocations: 20.48 kB / 322.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.04551, allocations: 0 / 322.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of Templates: time 0.158/0.2036, allocations: 5.613 MB / 327.9 MB, free: 33.02 MB / 302.1 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.607799883931875]