Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001885/0.001885, allocations: 73.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.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.002225/0.002225, allocations: 160.3 kB / 24.5 MB, free: 3.715 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 56.34 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.08807, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004473/0.09254, allocations: 3.059 MB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.09467, allocations: 1.316 MB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.09481, allocations: 11.94 kB / 383.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.09518, allocations: 139.1 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009239/0.09611, allocations: 413.8 kB / 383.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.0965, allocations: 175.5 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.0971, allocations: 458.1 kB / 384.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.0973, allocations: 108.8 kB / 384.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.09751, allocations: 179.3 kB / 384.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.09779, allocations: 175.2 kB / 384.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.09785, allocations: 32 kB / 384.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.09816, allocations: 167.9 kB / 385.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.09824, allocations: 83.58 kB / 385.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.09841, allocations: 163.2 kB / 385.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.09908, allocations: 0.5487 MB / 385.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09908, allocations: 0 / 385.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09908, allocations: 0 / 385.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.09909, allocations: 4 kB / 385.9 MB, free: 8.617 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.00143/0.1005, allocations: 0.6882 MB / 386.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1005, allocations: 8.031 kB / 386.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.1013, allocations: 116.6 kB / 386.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.1018, allocations: 255.7 kB / 387 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.1018, allocations: 33.38 kB / 387 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.1019, allocations: 32.38 kB / 387 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.1025, allocations: 408.9 kB / 387.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1025, allocations: 0 / 387.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.1026, allocations: 19.98 kB / 387.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1026, allocations: 8 kB / 387.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.1031, allocations: 245.9 kB / 387.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1051, allocations: 1.134 MB / 388.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.1055, allocations: 181.2 kB / 389 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1057, allocations: 77.62 kB / 389.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.1064, allocations: 0.5498 MB / 389.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1064, allocations: 38.56 kB / 389.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.1064, allocations: 0 / 389.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005515/0.107, allocations: 225.3 kB / 389.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.107, allocations: 85.11 kB / 390 MB, free: 4.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.1074, allocations: 292.1 kB / 390.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1074, allocations: 33.7 kB / 390.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1076, allocations: 244 kB / 390.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1076, allocations: 63.44 kB / 390.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1077, allocations: 69.97 kB / 390.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1079, allocations: 334.8 kB / 391 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.108, allocations: 68.62 kB / 391 MB, free: 3.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1083, allocations: 206.3 kB / 391.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.1088, allocations: 284.8 kB / 391.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1088, allocations: 4 kB / 391.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005573/0.1093, allocations: 313 kB / 391.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1093, allocations: 8.562 kB / 391.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1093, allocations: 8 kB / 391.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1094, allocations: 8 kB / 391.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1097, allocations: 75.89 kB / 391.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.1097, allocations: 15.88 kB / 391.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.1099, allocations: 47.66 kB / 392 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1099, allocations: 12 kB / 392 MB, free: 2.094 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.0001654/0.1101, allocations: 157.7 kB / 392.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.1101, allocations: 27.81 kB / 392.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.1102, allocations: 33.8 kB / 392.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1102, allocations: 0 / 392.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1102, allocations: 3.938 kB / 392.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1102, allocations: 7.984 kB / 392.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.1108, allocations: 415.1 kB / 392.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1109, allocations: 3.938 kB / 392.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.1111, allocations: 51.91 kB / 392.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1111, allocations: 0 / 392.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1111, allocations: 11.97 kB / 392.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1111, allocations: 0 / 392.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1111, allocations: 0 / 392.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.1117, allocations: 419.4 kB / 393.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1117, allocations: 35.7 kB / 393.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.1118, allocations: 11.94 kB / 393.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.112, allocations: 8 kB / 393.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.112, allocations: 16.03 kB / 393.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1121, allocations: 8 kB / 393.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1122, allocations: 199.1 kB / 393.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1122, allocations: 0 / 393.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.1127, allocations: 87.78 kB / 393.5 MB, free: 0.5586 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.0001453/0.1128, allocations: 111.2 kB / 393.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.1132, allocations: 175.7 kB / 393.7 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1132, allocations: 0 / 393.7 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1134, allocations: 69.03 kB / 393.8 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1138, allocations: 28.28 kB / 393.8 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1149, allocations: 0.6636 MB / 394.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.1151, allocations: 172.8 kB / 394.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1152, allocations: 34.91 kB / 394.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.1153, allocations: 28.5 kB / 394.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1153, allocations: 0 / 394.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Templates: time 0.006341/0.1216, allocations: 2.178 MB / 396.9 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.37437573808711]