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.001322/0.001322, allocations: 114.6 kB / 18.4 MB, free: 4.773 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.001211/0.001212, allocations: 190.7 kB / 21.34 MB, free: 1.844 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.494/1.494, allocations: 222.9 MB / 247 MB, free: 4.34 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.001541/0.001541, allocations: 55.91 kB / 358.7 MB, free: 8.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.098, allocations: 49.43 MB / 408.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004901/0.1029, allocations: 3.289 MB / 411.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1053, allocations: 1.285 MB / 412.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.1056, allocations: 15.94 kB / 412.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.1061, allocations: 143.1 kB / 412.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1074, allocations: 465.4 kB / 413.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1078, allocations: 163.6 kB / 413.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.1086, allocations: 446 kB / 413.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.1089, allocations: 148.2 kB / 414 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.1092, allocations: 163.4 kB / 414.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.1095, allocations: 203.1 kB / 414.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.713e-05/0.1096, allocations: 36 kB / 414.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.11, allocations: 155.9 kB / 414.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.1101, allocations: 87.67 kB / 414.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1103, allocations: 198.9 kB / 414.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.1111, allocations: 0.5293 MB / 415.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1111, allocations: 4 kB / 415.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1111, allocations: 0 / 415.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1111, allocations: 0 / 415.4 MB, free: 15.79 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.001527/0.1126, allocations: 0.7558 MB / 416.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1127, allocations: 12.03 kB / 416.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.1133, allocations: 100.6 kB / 416.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.1138, allocations: 308.6 kB / 416.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1139, allocations: 25.38 kB / 416.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.1139, allocations: 32.38 kB / 416.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.1146, allocations: 365.6 kB / 416.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1146, allocations: 0 / 416.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1146, allocations: 11.98 kB / 417 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.1147, allocations: 12 kB / 417 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.1152, allocations: 245.2 kB / 417.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.1173, allocations: 1.308 MB / 418.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.1178, allocations: 201.1 kB / 418.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.118, allocations: 85.67 kB / 418.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009367/0.1189, allocations: 0.8752 MB / 419.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.119, allocations: 34.56 kB / 419.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.119, allocations: 3.938 kB / 419.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005722/0.1196, allocations: 225.8 kB / 419.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1196, allocations: 85.05 kB / 420 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.1199, allocations: 279 kB / 420.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.12, allocations: 37.7 kB / 420.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1202, allocations: 244.1 kB / 420.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.1202, allocations: 71.42 kB / 420.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1203, allocations: 61.98 kB / 420.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1205, allocations: 334.8 kB / 421 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.1207, allocations: 72.61 kB / 421.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1209, allocations: 198.3 kB / 421.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.1214, allocations: 284.9 kB / 421.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1214, allocations: 4 kB / 421.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005955/0.122, allocations: 316.1 kB / 421.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1221, allocations: 8 kB / 421.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1221, allocations: 4 kB / 421.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1221, allocations: 8 kB / 421.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.1224, allocations: 84.3 kB / 422 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.1224, allocations: 11.94 kB / 422 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.1226, allocations: 39.73 kB / 422 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.1227, allocations: 16 kB / 422 MB, free: 8.582 MB / 350.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.0001632/0.1228, allocations: 157.7 kB / 422.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.1229, allocations: 27.81 kB / 422.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/0.123, allocations: 29.73 kB / 422.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.123, allocations: 7.875 kB / 422.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.123, allocations: 3.984 kB / 422.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.123, allocations: 8 kB / 422.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000768/0.1238, allocations: 0.5031 MB / 422.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1238, allocations: 0 / 422.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.124, allocations: 51.84 kB / 422.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.124, allocations: 0 / 422.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1241, allocations: 4 kB / 422.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1241, allocations: 0 / 422.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1241, allocations: 4.031 kB / 422.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.1247, allocations: 421.5 kB / 423.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.1248, allocations: 113.1 kB / 423.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.1248, allocations: 4 kB / 423.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.125, allocations: 24.05 kB / 423.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.1251, allocations: 11.98 kB / 423.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1251, allocations: 4 kB / 423.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1253, allocations: 198 kB / 423.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1253, allocations: 0 / 423.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004416/0.1258, allocations: 87.78 kB / 423.7 MB, free: 6.848 MB / 350.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.0001742/0.126, allocations: 123.2 kB / 423.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.1264, allocations: 192.6 kB / 424 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1264, allocations: 0 / 424 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1266, allocations: 71.84 kB / 424.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.127, allocations: 37.03 kB / 424.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1283, allocations: 0.683 MB / 424.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.1288, allocations: 0.779 MB / 425.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.1289, allocations: 27.44 kB / 425.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1289, allocations: 0 / 425.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Templates: time 0.008646/0.1375, allocations: 3.451 MB / 429 MB, free: 1.422 MB / 350.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.7603825750993565]