Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001373/0.001373, allocations: 108.5 kB / 21.93 MB, free: 5.215 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.001423/0.001423, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.86 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2827, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004202/0.2869, allocations: 2.993 MB / 400.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.2891, allocations: 1.256 MB / 401.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.2893, allocations: 11.84 kB / 401.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.2898, allocations: 136.2 kB / 402 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.2906, allocations: 315.9 kB / 402.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.2911, allocations: 244.7 kB / 402.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.2916, allocations: 454 kB / 403 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.2918, allocations: 98.66 kB / 403.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.292, allocations: 172.4 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2923, allocations: 174.6 kB / 403.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.2923, allocations: 34.47 kB / 403.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.2926, allocations: 152.3 kB / 403.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.2927, allocations: 87.44 kB / 403.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2928, allocations: 160 kB / 403.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.2935, allocations: 0.5355 MB / 404.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2935, allocations: 0 / 404.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2935, allocations: 1.562 kB / 404.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.2935, allocations: 0 / 404.4 MB, free: 5.309 MB / 318.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.001347/0.2949, allocations: 0.6737 MB / 405.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2949, allocations: 12.83 kB / 405.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/0.2955, allocations: 96.34 kB / 405.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.2959, allocations: 254 kB / 405.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.296, allocations: 30.84 kB / 405.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.296, allocations: 29.28 kB / 405.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.2966, allocations: 409.1 kB / 405.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2966, allocations: 9 kB / 405.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.2967, allocations: 10.62 kB / 405.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.2967, allocations: 12.19 kB / 405.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.2972, allocations: 243.5 kB / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.299, allocations: 1.131 MB / 407.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.2993, allocations: 181.4 kB / 407.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.2995, allocations: 85.7 kB / 407.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.3001, allocations: 0.5223 MB / 408 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3001, allocations: 37.81 kB / 408.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.3001, allocations: 1.438 kB / 408.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005553/0.3007, allocations: 219 kB / 408.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3007, allocations: 80.61 kB / 408.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.301, allocations: 290.4 kB / 408.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.301, allocations: 27.08 kB / 408.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3012, allocations: 248.7 kB / 408.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.3013, allocations: 65.64 kB / 409 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3014, allocations: 67.03 kB / 409.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.3015, allocations: 336.7 kB / 409.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.3016, allocations: 67.95 kB / 409.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.3019, allocations: 201 kB / 409.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.3023, allocations: 290.5 kB / 409.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3023, allocations: 1.219 kB / 409.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006143/0.3029, allocations: 319.8 kB / 410.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3029, allocations: 6.062 kB / 410.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3029, allocations: 5.312 kB / 410.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.303, allocations: 5.469 kB / 410.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.3033, allocations: 80.25 kB / 410.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.3033, allocations: 15.95 kB / 410.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.3035, allocations: 39.8 kB / 410.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.3035, allocations: 11.91 kB / 410.4 MB, free: 1.098 MB / 318.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.0001402/0.3037, allocations: 155.5 kB / 410.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.3037, allocations: 29.12 kB / 410.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.3038, allocations: 28.77 kB / 410.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3038, allocations: 1.406 kB / 410.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3038, allocations: 5.938 kB / 410.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3038, allocations: 0.5156 kB / 410.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3044, allocations: 417.8 kB / 411 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3045, allocations: 1.906 kB / 411 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.3047, allocations: 52.7 kB / 411.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3047, allocations: 1.188 kB / 411.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3047, allocations: 11.48 kB / 411.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3047, allocations: 1.156 kB / 411.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3047, allocations: 1.125 kB / 411.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.3052, allocations: 422.8 kB / 411.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.3052, allocations: 29.84 kB / 411.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.3053, allocations: 10.89 kB / 411.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3055, allocations: 16.23 kB / 411.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.3055, allocations: 15.14 kB / 411.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3055, allocations: 4.984 kB / 411.6 MB, free: 256 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.3057, allocations: 192.6 kB / 411.8 MB, free: 140 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3057, allocations: 0 / 411.8 MB, free: 140 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.3062, allocations: 82 kB / 411.9 MB, free: 120 kB / 318.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.000135/0.3063, allocations: 113 kB / 412 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.3067, allocations: 185.7 kB / 412.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3067, allocations: 0 / 412.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3069, allocations: 71.34 kB / 412.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3073, allocations: 32.33 kB / 412.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3085, allocations: 0.682 MB / 412.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3088, allocations: 167.4 kB / 413.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.3088, allocations: 25.77 kB / 413.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3088, allocations: 0 / 413.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.006305/0.3151, allocations: 3.556 MB / 416.7 MB, free: 13.52 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.094736229162663]