Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.00156/0.00156, allocations: 104 kB / 21.18 MB, free: 0.6719 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.001661/0.001661, allocations: 194.4 kB / 24.46 MB, free: 4.016 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.434/1.434, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 47.91 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2392, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00792/0.2471, allocations: 5.344 MB / 429.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.2505, allocations: 1.581 MB / 430.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.2512, allocations: 63.62 kB / 430.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.2519, allocations: 317.5 kB / 431.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.2531, allocations: 385.4 kB / 431.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.2538, allocations: 363.5 kB / 431.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.2561, allocations: 2.013 MB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.2582, allocations: 1.547 MB / 435.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.2594, allocations: 1.056 MB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.2611, allocations: 1.156 MB / 437.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004368/0.2616, allocations: 312 kB / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008616/0.2624, allocations: 455.6 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007223/0.2632, allocations: 0.7325 MB / 439.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.2644, allocations: 1.023 MB / 440.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004195/0.2686, allocations: 3.811 MB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2686, allocations: 0 / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2686, allocations: 0 / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.329e-05/0.2687, allocations: 4 kB / 443.9 MB, free: 10.25 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.004978/0.2737, allocations: 2.449 MB / 446.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2737, allocations: 8.031 kB / 446.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/0.2743, allocations: 251.4 kB / 446.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.277, allocations: 1.25 MB / 447.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.2772, allocations: 164.9 kB / 448.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.2775, allocations: 228.1 kB / 448.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004657/0.2822, allocations: 2.621 MB / 450.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.2822, allocations: 7.984 kB / 450.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/0.2824, allocations: 88 kB / 451 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.32e-05/0.2825, allocations: 59.98 kB / 451 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/0.2864, allocations: 2.137 MB / 453.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.2983, allocations: 6.395 MB / 459.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2995, allocations: 0.6887 MB / 460.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3007, allocations: 0.5946 MB / 460.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.3007, allocations: 8.5 kB / 460.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3007, allocations: 42.98 kB / 460.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.056e-06/0.3007, allocations: 4 kB / 460.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004452/0.3052, allocations: 2.383 MB / 463.3 MB, free: 6.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3052, allocations: 56.06 kB / 463.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3063, allocations: 0.7814 MB / 464.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.3064, allocations: 37.7 kB / 464.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.3071, allocations: 0.9479 MB / 465.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.3073, allocations: 234 kB / 465.4 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.3076, allocations: 154.6 kB / 465.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.3078, allocations: 386.8 kB / 465.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.3084, allocations: 365.8 kB / 466.2 MB, free: 3.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.3092, allocations: 0.579 MB / 466.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.3107, allocations: 0.9833 MB / 467.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3107, allocations: 4 kB / 467.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002025/0.3128, allocations: 1.146 MB / 468.9 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3128, allocations: 11.94 kB / 469 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.3128, allocations: 11.94 kB / 469 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.3131, allocations: 108.7 kB / 469.1 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.3139, allocations: 172 kB / 469.2 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.3165, allocations: 2.184 MB / 471.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.3171, allocations: 39.97 kB / 471.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.3172, allocations: 28.06 kB / 471.5 MB, free: 13.9 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.001092/0.3183, allocations: 0.6535 MB / 472.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.3185, allocations: 87.47 kB / 472.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.3187, allocations: 91.31 kB / 472.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.3187, allocations: 15.94 kB / 472.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3187, allocations: 4 kB / 472.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.3188, allocations: 3.984 kB / 472.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/0.3232, allocations: 2.224 MB / 474.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3232, allocations: 4.156 kB / 474.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.3237, allocations: 107.8 kB / 474.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.324, allocations: 96.78 kB / 474.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.324, allocations: 19.98 kB / 474.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.3264, allocations: 2.125 MB / 476.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.3264, allocations: 4.031 kB / 476.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.3287, allocations: 1.416 MB / 478.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.3292, allocations: 155.5 kB / 478.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.3293, allocations: 15.98 kB / 478.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.3297, allocations: 39.91 kB / 478.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.3298, allocations: 56.34 kB / 478.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.3299, allocations: 19.98 kB / 478.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007781/0.3307, allocations: 0.538 MB / 479.2 MB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3307, allocations: 0 / 479.2 MB, free: 6.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001081/0.3318, allocations: 299.9 kB / 479.5 MB, free: 5.73 MB / 382.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.0002829/0.332, allocations: 143 kB / 479.6 MB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.3338, allocations: 0.9641 MB / 480.6 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3338, allocations: 0 / 480.6 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.3348, allocations: 0.5452 MB / 481.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3359, allocations: 210.7 kB / 481.3 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.3418, allocations: 3.27 MB / 484.6 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.3431, allocations: 1.1 MB / 485.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.3434, allocations: 67.42 kB / 485.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3434, allocations: 0 / 485.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.04525/0.3886, allocations: 29.27 MB / 0.5029 GB, free: 2.086 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.959223430603743]