Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001641/0.001641, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001858/0.001858, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.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.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2288, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007473/0.2362, allocations: 5.347 MB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003591/0.2398, allocations: 1.643 MB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.2405, allocations: 63.62 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.2412, allocations: 313.5 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.2427, allocations: 393.4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007777/0.2434, allocations: 363.5 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.2458, allocations: 2.017 MB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.2478, allocations: 1.543 MB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.2491, allocations: 1.075 MB / 445.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.2508, allocations: 1.155 MB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004238/0.2512, allocations: 308 kB / 446.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.252, allocations: 455.7 kB / 447 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006396/0.2527, allocations: 0.7286 MB / 447.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.2538, allocations: 1.019 MB / 448.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.2576, allocations: 3.819 MB / 452.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2576, allocations: 0 / 452.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2576, allocations: 0 / 452.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-05/0.2576, allocations: 0 / 452.5 MB, free: 2.367 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004872/0.2625, allocations: 2.45 MB / 455 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2626, allocations: 11.97 kB / 455 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008406/0.2634, allocations: 275.4 kB / 455.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.2661, allocations: 1.281 MB / 456.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2663, allocations: 168.9 kB / 456.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003644/0.2667, allocations: 232.1 kB / 456.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.2715, allocations: 2.613 MB / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.2716, allocations: 0 / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.2718, allocations: 88 kB / 459.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.214e-05/0.2718, allocations: 56 kB / 459.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.2757, allocations: 2.145 MB / 461.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.2876, allocations: 6.375 MB / 468.2 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.2886, allocations: 0.7021 MB / 468.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.2897, allocations: 0.5907 MB / 469.5 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.2898, allocations: 8.5 kB / 469.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.2898, allocations: 39.06 kB / 469.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.755e-06/0.2898, allocations: 0 / 469.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004266/0.2941, allocations: 2.387 MB / 471.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2941, allocations: 56.06 kB / 472 MB, free: 14.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2951, allocations: 0.797 MB / 472.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.2952, allocations: 37.7 kB / 472.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.2958, allocations: 0.944 MB / 473.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.296, allocations: 238 kB / 474 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.2963, allocations: 142.6 kB / 474.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.2965, allocations: 390.7 kB / 474.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.2971, allocations: 369.8 kB / 474.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.2978, allocations: 0.579 MB / 475.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2992, allocations: 0.9794 MB / 476.5 MB, free: 9.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2992, allocations: 4 kB / 476.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001914/0.3011, allocations: 1.153 MB / 477.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3011, allocations: 8 kB / 477.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.3011, allocations: 11.94 kB / 477.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.3014, allocations: 113.2 kB / 477.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.3021, allocations: 183.7 kB / 477.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.3045, allocations: 2.168 MB / 480.1 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.305, allocations: 44.03 kB / 480.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.3051, allocations: 36 kB / 480.2 MB, free: 5.957 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001197/0.3063, allocations: 0.6457 MB / 480.8 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.3065, allocations: 87.47 kB / 480.9 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.3068, allocations: 99.45 kB / 481 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/0.3068, allocations: 11.94 kB / 481 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.3069, allocations: 4 kB / 481 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3069, allocations: 3.984 kB / 481 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.3112, allocations: 2.228 MB / 483.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3112, allocations: 0 / 483.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.3117, allocations: 107.8 kB / 483.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002463/0.3119, allocations: 92.78 kB / 483.4 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.312, allocations: 19.98 kB / 483.5 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.3144, allocations: 2.129 MB / 485.6 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3144, allocations: 0 / 485.6 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.3167, allocations: 1.419 MB / 487 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.3172, allocations: 159.4 kB / 487.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.3173, allocations: 12 kB / 487.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.3177, allocations: 39.95 kB / 487.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3178, allocations: 56.62 kB / 487.3 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.3179, allocations: 19.98 kB / 487.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000776/0.3187, allocations: 0.5419 MB / 487.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3187, allocations: 4 kB / 487.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001075/0.3197, allocations: 307.9 kB / 488.1 MB, free: 13.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002615/0.32, allocations: 139.1 kB / 488.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.3218, allocations: 0.9596 MB / 489.2 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3218, allocations: 0 / 489.2 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009387/0.3227, allocations: 0.5417 MB / 489.8 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3238, allocations: 211 kB / 490 MB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.3295, allocations: 3.271 MB / 493.2 MB, free: 8.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.3308, allocations: 1.108 MB / 494.4 MB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.3311, allocations: 63.42 kB / 494.4 MB, free: 7.363 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3311, allocations: 0 / 494.4 MB, free: 7.363 MB / 398.1 MB Notification: Performance of Templates: time 0.0406/0.3717, allocations: 29.36 MB / 0.5115 GB, free: 10.05 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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: 10.001181080006063]