Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 85.53 kB / 21.25 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 162.2 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 57.94 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09357, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004035/0.0976, allocations: 2.613 MB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.09914, allocations: 0.8995 MB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.09928, allocations: 11.94 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.09952, allocations: 55.52 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.09981, allocations: 99.19 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1001, allocations: 119.7 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.1005, allocations: 350.7 kB / 383 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1007, allocations: 85.97 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.1009, allocations: 147.4 kB / 383.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1011, allocations: 131.3 kB / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1012, allocations: 32 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.1013, allocations: 31.98 kB / 383.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.1013, allocations: 71.77 kB / 383.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1015, allocations: 123.4 kB / 383.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.1019, allocations: 374.4 kB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1019, allocations: 0 / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1019, allocations: 4 kB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1019, allocations: 0 / 384 MB, free: 10.35 MB / 350.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.0009863/0.1029, allocations: 0.5403 MB / 384.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1029, allocations: 11.98 kB / 384.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.1031, allocations: 48.67 kB / 384.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.1035, allocations: 211 kB / 384.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1035, allocations: 17.03 kB / 384.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.1035, allocations: 28.38 kB / 384.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.104, allocations: 284 kB / 385.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1041, allocations: 0 / 385.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.1041, allocations: 11.94 kB / 385.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1041, allocations: 8 kB / 385.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.1046, allocations: 210.5 kB / 385.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.106, allocations: 0.8016 MB / 386.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.1065, allocations: 209 kB / 386.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.1067, allocations: 98.84 kB / 386.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1067, allocations: 8 kB / 386.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1068, allocations: 30.56 kB / 386.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.1068, allocations: 0 / 386.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005004/0.1118, allocations: 1.394 MB / 387.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1118, allocations: 59.39 kB / 388 MB, free: 6.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1121, allocations: 233.7 kB / 388.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1121, allocations: 29.7 kB / 388.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1122, allocations: 196.4 kB / 388.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1123, allocations: 123 kB / 388.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1124, allocations: 70.02 kB / 388.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1126, allocations: 338.8 kB / 388.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.1128, allocations: 104.7 kB / 389 MB, free: 5.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.1131, allocations: 169.4 kB / 389.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/0.1137, allocations: 287.6 kB / 389.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1137, allocations: 0 / 389.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001564/0.1152, allocations: 0.5257 MB / 390 MB, free: 4.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1152, allocations: 4 kB / 390 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1153, allocations: 7.938 kB / 390 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.1165, allocations: 245.5 kB / 390.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1168, allocations: 59.84 kB / 390.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/0.1218, allocations: 3.842 MB / 394.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.122, allocations: 16.02 kB / 394.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.122, allocations: 12 kB / 394.2 MB, free: 15.7 MB / 366.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.000166/0.1222, allocations: 145.8 kB / 394.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.1222, allocations: 31.75 kB / 394.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.1223, allocations: 47.02 kB / 394.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1223, allocations: 4 kB / 394.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1223, allocations: 0 / 394.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1223, allocations: 4 kB / 394.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.1244, allocations: 0.8526 MB / 395.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1244, allocations: 8 kB / 395.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.1246, allocations: 48.12 kB / 395.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.1258, allocations: 241.5 kB / 395.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1258, allocations: 7.984 kB / 395.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00465/0.1305, allocations: 3.831 MB / 399.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1305, allocations: 4.031 kB / 399.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.1324, allocations: 0.7208 MB / 400.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1324, allocations: 23.84 kB / 400.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1324, allocations: 12 kB / 400.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.1327, allocations: 16.05 kB / 400.2 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.1328, allocations: 31.94 kB / 400.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1328, allocations: 11.94 kB / 400.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1329, allocations: 169.2 kB / 400.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1329, allocations: 0 / 400.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.1335, allocations: 100.3 kB / 400.5 MB, free: 9.109 MB / 366.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.00013/0.1337, allocations: 103.2 kB / 400.6 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009879/0.1347, allocations: 0.5561 MB / 401.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1347, allocations: 3.938 kB / 401.1 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.1352, allocations: 421.5 kB / 401.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1356, allocations: 24.5 kB / 401.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1368, allocations: 0.7162 MB / 402.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.137, allocations: 177.6 kB / 402.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.691e-05/0.1371, allocations: 18.3 kB / 402.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.1371, allocations: 24.48 kB / 402.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1371, allocations: 0 / 402.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of Templates: time 0.01039/0.1475, allocations: 5.671 MB / 408.2 MB, free: 1.328 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.640753749059513]