Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 218.6 kB / 22.99 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.263, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008045/0.271, allocations: 6.093 MB / 435.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.2745, allocations: 1.698 MB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.275, allocations: 51.75 kB / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.2756, allocations: 325.4 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.2767, allocations: 385.5 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.2774, allocations: 355.5 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.2795, allocations: 2.028 MB / 440.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.2816, allocations: 1.602 MB / 442.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.2829, allocations: 1.056 MB / 443.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.2845, allocations: 1.226 MB / 444.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.285, allocations: 312 kB / 444.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000739/0.2857, allocations: 467.7 kB / 445.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006907/0.2864, allocations: 0.7441 MB / 446.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.2877, allocations: 1.26 MB / 447.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.2918, allocations: 3.828 MB / 451.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2918, allocations: 0 / 451.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2918, allocations: 0 / 451.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.046e-05/0.2918, allocations: 0 / 451.2 MB, free: 2.02 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004828/0.2967, allocations: 2.532 MB / 453.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.2967, allocations: 8.031 kB / 453.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008888/0.2976, allocations: 279.3 kB / 454 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.2999, allocations: 1.33 MB / 455.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3001, allocations: 168.8 kB / 455.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.3004, allocations: 221.3 kB / 455.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/0.3051, allocations: 2.55 MB / 458.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.3051, allocations: 4 kB / 458.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.3054, allocations: 95.94 kB / 458.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.3055, allocations: 84.53 kB / 458.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/0.3097, allocations: 2.149 MB / 460.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.3234, allocations: 7.68 MB / 468.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.3249, allocations: 1.223 MB / 469.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.326, allocations: 0.5945 MB / 470.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.808e-05/0.3261, allocations: 8.562 kB / 470.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3261, allocations: 39.11 kB / 470.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.075e-06/0.3261, allocations: 0 / 470.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005053/0.3312, allocations: 2.45 MB / 472.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.3312, allocations: 59.97 kB / 472.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.3326, allocations: 0.805 MB / 473.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.3327, allocations: 37.7 kB / 473.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.3335, allocations: 0.9597 MB / 474.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.3337, allocations: 234 kB / 474.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.334, allocations: 146.6 kB / 474.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3342, allocations: 394.8 kB / 475.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.3348, allocations: 365.7 kB / 475.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/0.3356, allocations: 0.579 MB / 476.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.337, allocations: 0.9854 MB / 477.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.3371, allocations: 3.984 kB / 477.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00199/0.339, allocations: 1.151 MB / 478.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3391, allocations: 11.98 kB / 478.3 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3391, allocations: 8 kB / 478.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.3394, allocations: 112.7 kB / 478.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.3401, allocations: 179.8 kB / 478.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.3426, allocations: 2.318 MB / 480.9 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.3432, allocations: 39.97 kB / 480.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.3432, allocations: 36 kB / 481 MB, free: 3.195 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.00108/0.3443, allocations: 0.6574 MB / 481.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.3445, allocations: 83.55 kB / 481.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3448, allocations: 107.6 kB / 481.8 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.3448, allocations: 8 kB / 481.8 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3448, allocations: 0 / 481.8 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3448, allocations: 3.984 kB / 481.8 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.3495, allocations: 2.663 MB / 484.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.3495, allocations: 4.156 kB / 484.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.3499, allocations: 107.9 kB / 484.6 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.3502, allocations: 100.7 kB / 484.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.3502, allocations: 16 kB / 484.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.3525, allocations: 2.271 MB / 487 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3525, allocations: 8.062 kB / 487 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.3547, allocations: 1.413 MB / 488.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.3551, allocations: 232.5 kB / 488.6 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.3552, allocations: 12 kB / 488.6 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.3557, allocations: 44.02 kB / 488.7 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3558, allocations: 60.31 kB / 488.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.3558, allocations: 19.98 kB / 488.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007945/0.3566, allocations: 0.5576 MB / 489.3 MB, free: 10.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3566, allocations: 0 / 489.3 MB, free: 10.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001093/0.3577, allocations: 304 kB / 489.6 MB, free: 10.25 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.0002855/0.358, allocations: 139.1 kB / 489.8 MB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.3597, allocations: 0.9679 MB / 490.7 MB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3597, allocations: 0 / 490.7 MB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.3606, allocations: 0.5328 MB / 491.3 MB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3616, allocations: 219.5 kB / 491.5 MB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.3673, allocations: 3.315 MB / 494.8 MB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.3688, allocations: 1.724 MB / 496.5 MB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005949/0.3694, allocations: 203.1 kB / 496.7 MB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.3696, allocations: 67.42 kB / 496.8 MB, free: 2.984 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3696, allocations: 0 / 496.8 MB, free: 2.984 MB / 398.1 MB Notification: Performance of Templates: time 0.027/0.3966, allocations: 12.85 MB / 0.4977 GB, free: 6.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.816430195234716]