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.001464/0.001464, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001604/0.001604, allocations: 216.9 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001784/0.001784, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2687, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00788/0.2766, allocations: 6.074 MB / 437.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.2803, allocations: 1.697 MB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009884/0.2813, allocations: 63.62 kB / 439.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009498/0.2823, allocations: 321.4 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.2839, allocations: 397.4 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.2849, allocations: 363.5 kB / 440.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002785/0.2877, allocations: 2.013 MB / 442.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.2903, allocations: 1.602 MB / 444.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.2918, allocations: 1.071 MB / 445.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.2936, allocations: 1.222 MB / 446.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.294, allocations: 308 kB / 446.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.2948, allocations: 0.5191 MB / 447.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.2955, allocations: 0.7363 MB / 448 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.2968, allocations: 1.264 MB / 449.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.3007, allocations: 3.807 MB / 453.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3007, allocations: 4 kB / 453.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3007, allocations: 0 / 453.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.574e-05/0.3008, allocations: 4 kB / 453.1 MB, free: 1.355 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.004702/0.3055, allocations: 2.446 MB / 455.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3055, allocations: 12.03 kB / 455.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/0.3063, allocations: 279.4 kB / 455.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.3088, allocations: 1.27 MB / 457.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.309, allocations: 168.9 kB / 457.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.3093, allocations: 228 kB / 457.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.3137, allocations: 2.549 MB / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/0.3138, allocations: 0 / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.314, allocations: 95.94 kB / 460.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-05/0.3141, allocations: 56 kB / 460.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/0.3178, allocations: 2.141 MB / 462.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.3301, allocations: 7.354 MB / 469.6 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.3312, allocations: 0.6987 MB / 470.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.3323, allocations: 0.5829 MB / 470.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.3324, allocations: 12.5 kB / 470.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3324, allocations: 43.06 kB / 471 MB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.925e-06/0.3324, allocations: 0 / 471 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004477/0.3369, allocations: 2.379 MB / 473.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.337, allocations: 60.06 kB / 473.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3381, allocations: 0.8012 MB / 474.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.3381, allocations: 37.64 kB / 474.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007005/0.3388, allocations: 0.9519 MB / 475.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.339, allocations: 238 kB / 475.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.3393, allocations: 146.6 kB / 475.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.3395, allocations: 390.8 kB / 476 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.3401, allocations: 361.8 kB / 476.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/0.3409, allocations: 0.5829 MB / 476.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3423, allocations: 0.9833 MB / 477.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3423, allocations: 0 / 477.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001869/0.3442, allocations: 1.161 MB / 479 MB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3442, allocations: 11.94 kB / 479.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3442, allocations: 8 kB / 479.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.3445, allocations: 112.7 kB / 479.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.3452, allocations: 167.7 kB / 479.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.3477, allocations: 2.238 MB / 481.6 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.3482, allocations: 35.97 kB / 481.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.3483, allocations: 32 kB / 481.6 MB, free: 3.98 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.001068/0.3494, allocations: 0.6496 MB / 482.3 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3495, allocations: 91.38 kB / 482.4 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.3497, allocations: 107.8 kB / 482.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.3498, allocations: 8 kB / 482.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3498, allocations: 3.984 kB / 482.5 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3498, allocations: 0 / 482.5 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.3543, allocations: 2.629 MB / 485.1 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3543, allocations: 0 / 485.1 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.3548, allocations: 116 kB / 485.2 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.355, allocations: 96.78 kB / 485.3 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.355, allocations: 16 kB / 485.3 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.3573, allocations: 2.167 MB / 487.5 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3573, allocations: 3.938 kB / 487.5 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.3595, allocations: 1.427 MB / 488.9 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.3599, allocations: 151.4 kB / 489.1 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.36, allocations: 16.34 kB / 489.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.3604, allocations: 43.89 kB / 489.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.3605, allocations: 56.47 kB / 489.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.3606, allocations: 23.92 kB / 489.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008166/0.3614, allocations: 0.5576 MB / 489.8 MB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3614, allocations: 0 / 489.8 MB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001064/0.3624, allocations: 303.9 kB / 490.1 MB, free: 11.29 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.0002888/0.3627, allocations: 135.1 kB / 490.2 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.3645, allocations: 0.9688 MB / 491.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3645, allocations: 0 / 491.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000931/0.3654, allocations: 0.5441 MB / 491.7 MB, free: 9.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3665, allocations: 209.4 kB / 491.9 MB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.3724, allocations: 3.29 MB / 495.2 MB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.3741, allocations: 1.724 MB / 497 MB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005583/0.3746, allocations: 207.1 kB / 497.2 MB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3748, allocations: 63.44 kB / 497.2 MB, free: 4.047 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3748, allocations: 0 / 497.2 MB, free: 4.047 MB / 398.1 MB Notification: Performance of Templates: time 0.02709/0.4019, allocations: 13.11 MB / 0.4984 GB, free: 7.078 MB / 414.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/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_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: 4.854745008982718]