Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.001423/0.001423, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001526/0.001526, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.964e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.006628/0.006658, allocations: 2.615 MB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.00934, allocations: 0.8956 MB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.009599, allocations: 11.88 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.01, allocations: 59.5 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.01055, allocations: 111 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.01101, allocations: 123.6 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006818/0.01169, allocations: 362.5 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.01192, allocations: 74.03 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004884/0.01241, allocations: 211.5 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.01269, allocations: 115.7 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.01277, allocations: 28 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.01288, allocations: 32 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.01297, allocations: 71.69 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.01317, allocations: 111.7 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.01386, allocations: 382.7 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01387, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01387, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01388, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.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.00159/0.01547, allocations: 0.5325 MB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01551, allocations: 8.031 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.01583, allocations: 64.73 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.01641, allocations: 214.1 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.01645, allocations: 25.03 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.01654, allocations: 28.38 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.01739, allocations: 272.3 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.0174, allocations: 4.188 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.01745, allocations: 12.38 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.01747, allocations: 7.938 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.01828, allocations: 214.5 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.02084, allocations: 0.8094 MB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.02166, allocations: 194.4 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.02216, allocations: 100.8 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.02221, allocations: 4 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/0.02227, allocations: 38.5 kB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.196e-06/0.02228, allocations: 0 / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.008628/0.0309, allocations: 1.403 MB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.03097, allocations: 59.41 kB / 281.4 MB, free: 8.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.03141, allocations: 237.7 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.03146, allocations: 29.7 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.03169, allocations: 188.6 kB / 281.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.03186, allocations: 122.9 kB / 282 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.03208, allocations: 66.02 kB / 282.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.03235, allocations: 342.8 kB / 282.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.03278, allocations: 104.7 kB / 282.5 MB, free: 7.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.03328, allocations: 165.4 kB / 282.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/0.03422, allocations: 280 kB / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.03422, allocations: 0 / 282.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002793/0.03702, allocations: 0.5413 MB / 283.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.03704, allocations: 4 kB / 283.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.03705, allocations: 7.984 kB / 283.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.04015, allocations: 337.4 kB / 283.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.04061, allocations: 63.91 kB / 283.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008494/0.0491, allocations: 3.881 MB / 287.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.04947, allocations: 11.98 kB / 287.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.04951, allocations: 20 kB / 287.8 MB, free: 1.809 MB / 266.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.0002843/0.0498, allocations: 149.8 kB / 288 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.04994, allocations: 35.86 kB / 288 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.05008, allocations: 38.95 kB / 288 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.05008, allocations: 4 kB / 288 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.05009, allocations: 3.938 kB / 288 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.0501, allocations: 0 / 288 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.05367, allocations: 0.864 MB / 288.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.05368, allocations: 4 kB / 288.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.05404, allocations: 43.97 kB / 288.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.05707, allocations: 337.6 kB / 289.3 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.05711, allocations: 4 kB / 289.3 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008001/0.06511, allocations: 3.85 MB / 293.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.06511, allocations: 128 / 293.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.06725, allocations: 0.7324 MB / 293.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.06733, allocations: 31.78 kB / 293.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.06737, allocations: 4 kB / 293.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.06762, allocations: 15.98 kB / 293.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.06776, allocations: 31.88 kB / 293.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.06778, allocations: 8 kB / 293.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.06799, allocations: 165.2 kB / 294.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06799, allocations: 0 / 294.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006735/0.06866, allocations: 104.1 kB / 294.2 MB, free: 11.11 MB / 282.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.0001868/0.06885, allocations: 115.2 kB / 294.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.07003, allocations: 0.5473 MB / 294.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.07003, allocations: 0 / 294.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000699/0.07073, allocations: 420.8 kB / 295.3 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.07108, allocations: 33.83 kB / 295.3 MB, free: 9.945 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.07257, allocations: 0.6555 MB / 296 MB, free: 9.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.0728, allocations: 173.6 kB / 296.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.586e-05/0.07289, allocations: 18.3 kB / 296.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.07295, allocations: 16.5 kB / 296.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.07295, allocations: 0 / 296.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of Templates: time 0.01223/0.08519, allocations: 5.68 MB / 301.9 MB, free: 3.371 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.817070898017846]