Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.001332/0.001332, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001407/0.001407, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.417/1.417, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.91 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01869/0.2605, allocations: 14.25 MB / 438.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009142/0.2697, allocations: 3.974 MB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.2726, allocations: 163.2 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.2902, allocations: 6.917 MB / 449.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.296, allocations: 1.483 MB / 450.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.2996, allocations: 1.084 MB / 451.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.3107, allocations: 8.316 MB / 460 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02744/0.3381, allocations: 14.21 MB / 474.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007847/0.346, allocations: 4.91 MB / 479.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009334/0.3553, allocations: 5.174 MB / 484.3 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004644/0.36, allocations: 1.387 MB / 485.7 MB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005667/0.3656, allocations: 1.629 MB / 487.3 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004486/0.3701, allocations: 2.591 MB / 489.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008584/0.3787, allocations: 4.047 MB / 494 MB, free: 7.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.4026, allocations: 18.42 MB / 0.5004 GB, free: 5.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4026, allocations: 4 kB / 0.5004 GB, free: 5.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4026, allocations: 0 / 0.5004 GB, free: 5.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004568/0.403, allocations: 0 / 0.5004 GB, free: 5.496 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03195/0.435, allocations: 10.55 MB / 0.5107 GB, free: 10.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.435, allocations: 8.031 kB / 0.5107 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02009/0.4551, allocations: 3.776 MB / 0.5144 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.4685, allocations: 5.425 MB / 0.5197 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007618/0.4693, allocations: 0.6902 MB / 0.5203 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/0.4722, allocations: 0.8867 MB / 0.5212 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/0.5038, allocations: 12.79 MB / 0.5337 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003194/0.5041, allocations: 11.94 kB / 0.5337 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/0.5063, allocations: 376 kB / 0.5341 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004296/0.5067, allocations: 399.1 kB / 0.5344 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3866/0.8933, allocations: 11.38 MB / 0.5456 GB, free: 96.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05499/0.9483, allocations: 37.31 MB / 0.582 GB, free: 61.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007256/0.9555, allocations: 4.155 MB / 0.5861 GB, free: 58.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.9574, allocations: 1.531 MB / 0.5876 GB, free: 56.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.9575, allocations: 49.97 kB / 0.5876 GB, free: 56.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.9576, allocations: 56.56 kB / 0.5877 GB, free: 56.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.648e-06/0.9576, allocations: 0 / 0.5877 GB, free: 56.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007229/0.9648, allocations: 4.587 MB / 0.5921 GB, free: 51.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.9648, allocations: 81.34 kB / 0.5922 GB, free: 51.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.9683, allocations: 3.034 MB / 0.5952 GB, free: 48.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000262/0.9685, allocations: 61.7 kB / 0.5952 GB, free: 48.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.97, allocations: 3.988 MB / 0.5991 GB, free: 45.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006573/0.9706, allocations: 0.8314 MB / 0.5999 GB, free: 44.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.9717, allocations: 0.9488 MB / 0.6009 GB, free: 43.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.9717, allocations: 309.1 kB / 0.6012 GB, free: 42.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.974, allocations: 1.969 MB / 0.6031 GB, free: 40.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/0.9769, allocations: 4.161 MB / 0.6071 GB, free: 35.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005582/0.9825, allocations: 6.501 MB / 0.6135 GB, free: 28.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.245e-05/0.9825, allocations: 27.94 kB / 0.6135 GB, free: 28.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00881/0.9913, allocations: 6.503 MB / 0.6199 GB, free: 21.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.9914, allocations: 40 kB / 0.6199 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.166e-05/0.9915, allocations: 76 kB / 0.62 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/0.9922, allocations: 408.6 kB / 0.6204 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/0.9951, allocations: 1.065 MB / 0.6214 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.999, allocations: 4.189 MB / 0.6255 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/1.002, allocations: 0.6286 MB / 0.6261 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003997/1.002, allocations: 248 kB / 0.6264 GB, free: 14.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004072/1.007, allocations: 3.365 MB / 0.6296 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/1.007, allocations: 294.2 kB / 0.6299 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/1.012, allocations: 3.587 MB / 0.6334 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003182/1.015, allocations: 2.799 MB / 0.6362 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.015, allocations: 3.938 kB / 0.6362 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.015, allocations: 15.95 kB / 0.6362 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.028, allocations: 7.971 MB / 0.644 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.028, allocations: 4 kB / 0.644 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.03, allocations: 415.3 kB / 0.6444 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007374/1.031, allocations: 308.7 kB / 0.6447 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.031, allocations: 55.98 kB / 0.6447 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/1.036, allocations: 4.017 MB / 0.6486 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.036, allocations: 4 kB / 0.6486 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007921/1.044, allocations: 5.117 MB / 0.6536 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.046, allocations: 0.5561 MB / 0.6542 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/1.046, allocations: 36 kB / 0.6542 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.047, allocations: 131.8 kB / 0.6543 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/1.047, allocations: 161.6 kB / 0.6545 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.047, allocations: 63.98 kB / 0.6545 GB, free: 1.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002998/1.05, allocations: 1.943 MB / 0.6564 GB, free: 15.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.05, allocations: 4 kB / 0.6564 GB, free: 15.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005185/1.056, allocations: 1.988 MB / 0.6584 GB, free: 13.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004978/1.056, allocations: 210.7 kB / 0.6586 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00772/1.064, allocations: 4.438 MB / 0.6629 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.064, allocations: 4 kB / 0.6629 GB, free: 9.223 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002761/1.067, allocations: 1.61 MB / 0.6645 GB, free: 7.602 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/1.07, allocations: 0.6734 MB / 0.6652 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/1.095, allocations: 13.28 MB / 0.6781 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006553/1.102, allocations: 5.001 MB / 0.683 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009886/1.103, allocations: 267.4 kB / 0.6833 GB, free: 4.285 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.103, allocations: 0 / 0.6833 GB, free: 4.285 MB / 494.1 MB Notification: Performance of Templates: time 0.3643/1.467, allocations: 135.1 MB / 0.8152 GB, free: 140.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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: 13.68375923903659]