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.001739/0.001739, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001985/0.001985, allocations: 147.5 kB / 24.49 MB, free: 3.859 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.404/1.404, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.1 MB " [Timeout remaining time 179] 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.001547/0.001547, allocations: 43.31 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.08099, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00459/0.08558, allocations: 3.042 MB / 374.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.08757, allocations: 1.203 MB / 375.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.08772, allocations: 11.94 kB / 375.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.0881, allocations: 143.1 kB / 376 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009909/0.08909, allocations: 445.5 kB / 376.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.08946, allocations: 155.6 kB / 376.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000587/0.09004, allocations: 458 kB / 377 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.09025, allocations: 96.8 kB / 377.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.09045, allocations: 167.4 kB / 377.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.09072, allocations: 179.1 kB / 377.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.09078, allocations: 36 kB / 377.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.09107, allocations: 147.9 kB / 377.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.09114, allocations: 79.69 kB / 377.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.09132, allocations: 167.2 kB / 377.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.09196, allocations: 0.5292 MB / 378.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09196, allocations: 0 / 378.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09196, allocations: 8 kB / 378.4 MB, free: 500 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.09197, allocations: 0 / 378.4 MB, free: 500 kB / 334.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.00142/0.09339, allocations: 0.6805 MB / 379.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.09342, allocations: 8.922 kB / 379.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006185/0.09404, allocations: 96.64 kB / 379.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.09448, allocations: 246.8 kB / 379.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.09451, allocations: 29.38 kB / 379.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.09456, allocations: 32.31 kB / 379.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.09521, allocations: 412.9 kB / 379.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.09522, allocations: 3.984 kB / 379.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.09526, allocations: 12 kB / 379.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.09527, allocations: 8 kB / 379.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.09577, allocations: 249.9 kB / 380.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.09774, allocations: 1.123 MB / 381.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.09814, allocations: 185.1 kB / 381.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.09831, allocations: 85.62 kB / 381.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/0.09897, allocations: 0.5186 MB / 382.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.099, allocations: 34.56 kB / 382.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.099, allocations: 0 / 382.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005509/0.09955, allocations: 229.4 kB / 382.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.09961, allocations: 81.11 kB / 382.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.0999, allocations: 292.1 kB / 382.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.09993, allocations: 25.7 kB / 382.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1001, allocations: 240 kB / 382.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.1001, allocations: 71.41 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.1002, allocations: 62.03 kB / 383.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1004, allocations: 334.8 kB / 383.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1005, allocations: 68.61 kB / 383.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1008, allocations: 206.3 kB / 383.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.1012, allocations: 292.9 kB / 383.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1012, allocations: 0 / 383.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005596/0.1018, allocations: 324.8 kB / 384.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1018, allocations: 4 kB / 384.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1018, allocations: 12.5 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1018, allocations: 8 kB / 384.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.1021, allocations: 79.89 kB / 384.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1022, allocations: 11.88 kB / 384.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.1024, allocations: 35.73 kB / 384.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.1024, allocations: 23.98 kB / 384.4 MB, free: 10.04 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.00015/0.1025, allocations: 153.7 kB / 384.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.1026, allocations: 23.86 kB / 384.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1027, allocations: 33.78 kB / 384.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1027, allocations: 4 kB / 384.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1027, allocations: 7.938 kB / 384.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1027, allocations: 0 / 384.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.1033, allocations: 414.8 kB / 385.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1033, allocations: 0 / 385.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1035, allocations: 47.91 kB / 385.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1035, allocations: 0 / 385.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1035, allocations: 12.25 kB / 385.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1036, allocations: 3.984 kB / 385.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1036, allocations: 8.031 kB / 385.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.1041, allocations: 419.3 kB / 385.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1042, allocations: 19.89 kB / 385.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.1042, allocations: 15.88 kB / 385.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1044, allocations: 11.98 kB / 385.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.1045, allocations: 15.97 kB / 385.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1045, allocations: 4 kB / 385.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.1047, allocations: 199.1 kB / 385.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1047, allocations: 0 / 385.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.1052, allocations: 83.78 kB / 385.9 MB, free: 8.523 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.0001403/0.1054, allocations: 111.2 kB / 386 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.1058, allocations: 190.4 kB / 386.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1058, allocations: 4 kB / 386.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.106, allocations: 65.09 kB / 386.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1064, allocations: 29.62 kB / 386.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1074, allocations: 0.6705 MB / 386.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.1076, allocations: 168.8 kB / 387.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1077, allocations: 38.16 kB / 387.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.1078, allocations: 20.5 kB / 387.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1078, allocations: 0 / 387.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of Templates: time 0.006141/0.1139, allocations: 2.16 MB / 389.3 MB, free: 5.059 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.3204474959056824]