Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 55.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09891, allocations: 52.13 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005056/0.104, allocations: 3.304 MB / 422.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1061, allocations: 1.304 MB / 423.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1063, allocations: 8 kB / 423.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.1067, allocations: 151 kB / 423.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.1078, allocations: 461.5 kB / 424.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1081, allocations: 171.5 kB / 424.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006395/0.1088, allocations: 438.2 kB / 424.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.109, allocations: 112.2 kB / 424.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.1092, allocations: 171.2 kB / 425 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1095, allocations: 203.1 kB / 425.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.1096, allocations: 32 kB / 425.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.1099, allocations: 163.9 kB / 425.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.11, allocations: 87.61 kB / 425.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.1102, allocations: 191.1 kB / 425.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.1109, allocations: 0.5408 MB / 426.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1109, allocations: 0 / 426.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1109, allocations: 0 / 426.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1109, allocations: 0 / 426.2 MB, free: 4.773 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001536/0.1124, allocations: 0.7481 MB / 427 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1125, allocations: 8.031 kB / 427 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.1131, allocations: 96.64 kB / 427.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.1136, allocations: 308.6 kB / 427.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1136, allocations: 33.31 kB / 427.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.1137, allocations: 36.38 kB / 427.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.1143, allocations: 353.6 kB / 427.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1143, allocations: 3.938 kB / 427.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.1144, allocations: 16 kB / 427.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1144, allocations: 8 kB / 427.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005399/0.1149, allocations: 246.1 kB / 428.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1171, allocations: 1.316 MB / 429.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.1175, allocations: 185.1 kB / 429.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1176, allocations: 77.67 kB / 429.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008578/0.1185, allocations: 0.8753 MB / 430.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1185, allocations: 30.56 kB / 430.5 MB, free: 120 kB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1185, allocations: 3.938 kB / 430.5 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005965/0.1191, allocations: 217.7 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.1192, allocations: 92.8 kB / 430.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.1195, allocations: 283 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1195, allocations: 33.7 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1197, allocations: 236 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.1198, allocations: 75.41 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1199, allocations: 61.98 kB / 431.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.12, allocations: 334.8 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.1202, allocations: 72.86 kB / 431.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1204, allocations: 198.4 kB / 432.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.1209, allocations: 291.7 kB / 432.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1209, allocations: 7.938 kB / 432.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005693/0.1214, allocations: 309.1 kB / 432.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1215, allocations: 14.69 kB / 432.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1215, allocations: 4 kB / 432.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1215, allocations: 15.94 kB / 432.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1218, allocations: 83.83 kB / 432.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1218, allocations: 8 kB / 432.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.122, allocations: 35.73 kB / 432.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.122, allocations: 16 kB / 432.9 MB, free: 13.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.1222, allocations: 161.6 kB / 433 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.1223, allocations: 31.81 kB / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.1223, allocations: 33.73 kB / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1223, allocations: 3.938 kB / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1223, allocations: 0 / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1224, allocations: 4 kB / 433.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.1231, allocations: 0.503 MB / 433.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1231, allocations: 3.938 kB / 433.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.1233, allocations: 48 kB / 433.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1233, allocations: 0 / 433.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1233, allocations: 8 kB / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.1233, allocations: 3.938 kB / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1233, allocations: 0 / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.1239, allocations: 417.3 kB / 434.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.124, allocations: 112.9 kB / 434.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.124, allocations: 0 / 434.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1243, allocations: 15.98 kB / 434.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1243, allocations: 11.98 kB / 434.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1243, allocations: 8 kB / 434.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.1245, allocations: 197.9 kB / 434.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 4.062 kB / 434.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.125, allocations: 87.78 kB / 434.5 MB, free: 11.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.1252, allocations: 119.3 kB / 434.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.1256, allocations: 183.6 kB / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1256, allocations: 0 / 434.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1257, allocations: 67.91 kB / 434.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1262, allocations: 37.94 kB / 434.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1273, allocations: 0.6789 MB / 435.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1277, allocations: 0.779 MB / 436.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.1278, allocations: 27.44 kB / 436.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1278, allocations: 0 / 436.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of Templates: time 0.006061/0.1339, allocations: 3.49 MB / 439.9 MB, free: 6.414 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 7.12275044596754]