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.002164/0.002164, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002335/0.002335, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.638/1.638, allocations: 230.3 MB / 258 MB, free: 8.25 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.001933/0.001933, allocations: 59.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 53.38 MB / 432.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009243/0.293, allocations: 6.093 MB / 438.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.2976, allocations: 1.698 MB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.2987, allocations: 67.56 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008038/0.2995, allocations: 329.4 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.3012, allocations: 393.4 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.302, allocations: 363.5 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.3048, allocations: 2.02 MB / 443.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.307, allocations: 1.603 MB / 444.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.3087, allocations: 1.083 MB / 445.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.3105, allocations: 1.23 MB / 447 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.311, allocations: 308 kB / 447.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009855/0.3119, allocations: 0.519 MB / 447.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008033/0.3127, allocations: 0.7286 MB / 448.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.3142, allocations: 1.268 MB / 449.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.3184, allocations: 3.824 MB / 453.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3184, allocations: 0 / 453.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3184, allocations: 0 / 453.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-05/0.3184, allocations: 0 / 453.6 MB, free: 1.445 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.004782/0.3232, allocations: 2.458 MB / 456.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3233, allocations: 12.03 kB / 456.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/0.3241, allocations: 279.4 kB / 456.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3265, allocations: 1.273 MB / 457.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.3267, allocations: 168.9 kB / 457.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.327, allocations: 224.1 kB / 458 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.3317, allocations: 2.554 MB / 460.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3318, allocations: 0 / 460.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.332, allocations: 92 kB / 460.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.3321, allocations: 80.55 kB / 460.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.336, allocations: 2.157 MB / 462.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.3484, allocations: 7.548 MB / 470.4 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.3495, allocations: 0.6824 MB / 471.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.3507, allocations: 0.5907 MB / 471.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.3507, allocations: 8.5 kB / 471.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3508, allocations: 39 kB / 471.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.595e-06/0.3508, allocations: 4 kB / 471.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004533/0.3553, allocations: 2.391 MB / 474.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3554, allocations: 60.06 kB / 474.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3565, allocations: 0.8012 MB / 475 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.3566, allocations: 37.7 kB / 475.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007812/0.3574, allocations: 0.9596 MB / 476 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3576, allocations: 234 kB / 476.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.3578, allocations: 142.6 kB / 476.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.358, allocations: 398.8 kB / 476.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.3586, allocations: 357.8 kB / 477.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/0.3595, allocations: 0.5829 MB / 477.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3609, allocations: 0.9834 MB / 478.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3609, allocations: 4 kB / 478.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002123/0.3631, allocations: 1.161 MB / 479.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3631, allocations: 8.625 kB / 479.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3631, allocations: 8 kB / 479.9 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.3634, allocations: 112.8 kB / 480 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.3643, allocations: 171.7 kB / 480.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3669, allocations: 2.222 MB / 482.4 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.3675, allocations: 40.03 kB / 482.4 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.3675, allocations: 39.98 kB / 482.4 MB, free: 3.77 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.001106/0.3686, allocations: 0.6419 MB / 483.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.3688, allocations: 91.38 kB / 483.2 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.3691, allocations: 103.7 kB / 483.3 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.3691, allocations: 11.94 kB / 483.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3691, allocations: 0 / 483.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3691, allocations: 7.984 kB / 483.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.3738, allocations: 2.63 MB / 485.9 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3738, allocations: 0 / 485.9 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.3743, allocations: 111.8 kB / 486 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.3746, allocations: 108.9 kB / 486.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.3746, allocations: 15.92 kB / 486.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.377, allocations: 2.159 MB / 488.3 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.377, allocations: 4.031 kB / 488.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.3794, allocations: 1.423 MB / 489.7 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.3798, allocations: 171.4 kB / 489.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3799, allocations: 15.94 kB / 489.9 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.3803, allocations: 39.95 kB / 490 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3804, allocations: 52.41 kB / 490 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.3805, allocations: 16 kB / 490 MB, free: 11.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007824/0.3813, allocations: 0.5693 MB / 490.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3813, allocations: 0 / 490.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3823, allocations: 303.9 kB / 490.9 MB, free: 11.07 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.0002749/0.3826, allocations: 135 kB / 491 MB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3843, allocations: 0.9688 MB / 492 MB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3844, allocations: 0 / 492 MB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.3853, allocations: 0.5328 MB / 492.5 MB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.3864, allocations: 225.3 kB / 492.8 MB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.3921, allocations: 3.294 MB / 496 MB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.3937, allocations: 1.728 MB / 497.8 MB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005717/0.3942, allocations: 207.1 kB / 498 MB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3944, allocations: 55.44 kB / 498 MB, free: 3.824 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3944, allocations: 4 kB / 498 MB, free: 3.82 MB / 398.1 MB Notification: Performance of Templates: time 0.02693/0.4214, allocations: 13.12 MB / 0.4992 GB, free: 6.82 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: 5.1671257093548775]