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.001427/0.001427, allocations: 117.7 kB / 18.45 MB, free: 4.602 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.001374/0.001374, allocations: 190.6 kB / 21.4 MB, free: 1.664 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.421/1.421, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.001462/0.001462, allocations: 47.92 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09909, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00896/0.108, allocations: 6.043 MB / 425 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1117, allocations: 1.643 MB / 426.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1127, allocations: 43.88 kB / 426.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1137, allocations: 321.4 kB / 427 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.1155, allocations: 377.5 kB / 427.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1166, allocations: 347.6 kB / 427.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.1195, allocations: 2.013 MB / 429.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/0.1233, allocations: 2.02 MB / 431.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.1251, allocations: 1.036 MB / 432.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.1274, allocations: 1.226 MB / 434 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007834/0.1282, allocations: 312 kB / 434.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1296, allocations: 0.4918 MB / 434.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.1307, allocations: 0.7247 MB / 435.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.133, allocations: 1.268 MB / 436.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.1387, allocations: 3.807 MB / 440.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1387, allocations: 0 / 440.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1387, allocations: 0 / 440.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001575/0.1389, allocations: 0 / 440.6 MB, free: 6.344 MB / 366.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.006736/0.1456, allocations: 2.524 MB / 443.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1457, allocations: 11.89 kB / 443.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009989/0.1467, allocations: 251.4 kB / 443.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.1497, allocations: 1.311 MB / 444.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.1499, allocations: 164.9 kB / 444.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005294/0.1504, allocations: 232.1 kB / 445.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2005/0.3509, allocations: 2.532 MB / 447.6 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.351, allocations: 0 / 447.6 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.3512, allocations: 97.34 kB / 447.7 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.981e-05/0.3512, allocations: 56.53 kB / 447.8 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.3546, allocations: 2.14 MB / 449.9 MB, free: 27.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.3671, allocations: 7.506 MB / 457.4 MB, free: 24.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3683, allocations: 1.217 MB / 458.6 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3694, allocations: 0.6028 MB / 459.2 MB, free: 23.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.3694, allocations: 10.94 kB / 459.2 MB, free: 23.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3695, allocations: 38.92 kB / 459.3 MB, free: 23.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.795e-06/0.3695, allocations: 0 / 459.3 MB, free: 23.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004088/0.3735, allocations: 2.45 MB / 461.7 MB, free: 22.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.3736, allocations: 59.94 kB / 461.8 MB, free: 22.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3747, allocations: 0.7952 MB / 462.6 MB, free: 22.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.3747, allocations: 37.53 kB / 462.6 MB, free: 22.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006254/0.3754, allocations: 0.9409 MB / 463.5 MB, free: 21.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.3755, allocations: 242.6 kB / 463.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.3758, allocations: 145.1 kB / 463.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3759, allocations: 392.2 kB / 464.3 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.3764, allocations: 368.7 kB / 464.7 MB, free: 20.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.3771, allocations: 0.5783 MB / 465.2 MB, free: 20.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3784, allocations: 0.9822 MB / 466.2 MB, free: 19.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.3784, allocations: 5.594 kB / 466.2 MB, free: 19.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001812/0.3802, allocations: 1.15 MB / 467.4 MB, free: 19.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3802, allocations: 9.188 kB / 467.4 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.3802, allocations: 6.219 kB / 467.4 MB, free: 19.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.3805, allocations: 120.1 kB / 467.5 MB, free: 19.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.3812, allocations: 174.3 kB / 467.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.3831, allocations: 2.334 MB / 470 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.3837, allocations: 42.41 kB / 470.1 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.3838, allocations: 30.56 kB / 470.1 MB, free: 17.23 MB / 366.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.0009892/0.3848, allocations: 0.6467 MB / 470.7 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.3849, allocations: 91.42 kB / 470.8 MB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.3851, allocations: 101.1 kB / 470.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.3851, allocations: 7.875 kB / 470.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.3851, allocations: 1.188 kB / 470.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3851, allocations: 7.984 kB / 470.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.3894, allocations: 2.654 MB / 473.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3894, allocations: 1.125 kB / 473.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.3898, allocations: 111.9 kB / 473.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.3901, allocations: 96.38 kB / 473.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.3901, allocations: 17.59 kB / 473.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.3918, allocations: 2.268 MB / 476.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3918, allocations: 1.094 kB / 476.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.3938, allocations: 1.422 MB / 477.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.3942, allocations: 226.8 kB / 477.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.3943, allocations: 21.59 kB / 477.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.3947, allocations: 41.48 kB / 477.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3948, allocations: 42.91 kB / 477.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.3949, allocations: 20.86 kB / 477.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.3956, allocations: 0.5585 MB / 478.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3956, allocations: 0 / 478.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001499/0.3971, allocations: 305.8 kB / 478.7 MB, free: 11.49 MB / 366.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.0002803/0.3974, allocations: 146 kB / 478.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.3993, allocations: 0.9691 MB / 479.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3993, allocations: 1.688 kB / 479.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.4001, allocations: 0.5432 MB / 480.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4012, allocations: 227.9 kB / 480.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.406, allocations: 3.235 MB / 483.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009963/0.407, allocations: 1.681 MB / 485.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.4073, allocations: 68.31 kB / 485.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4073, allocations: 0 / 485.6 MB, free: 7.293 MB / 366.1 MB Notification: Performance of Templates: time 0.03898/0.4463, allocations: 28.72 MB / 0.5022 GB, free: 11.31 MB / 398.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: 10.072176534013124]