Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001852/0.001852, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.002174/0.002174, allocations: 210.1 kB / 24.48 MB, free: 3.973 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01705/0.2625, allocations: 14.25 MB / 446.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.2707, allocations: 4.033 MB / 450.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.2728, allocations: 163.2 kB / 450.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01624/0.2891, allocations: 6.91 MB / 457.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005486/0.2946, allocations: 1.343 MB / 459 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.298, allocations: 1.228 MB / 460.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009883/0.3079, allocations: 8.297 MB / 468.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02312/0.331, allocations: 14.36 MB / 482.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007177/0.3382, allocations: 4.91 MB / 487.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009226/0.3474, allocations: 5.361 MB / 493.2 MB, free: 9.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004108/0.3515, allocations: 1.379 MB / 494.6 MB, free: 8.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/0.3571, allocations: 1.672 MB / 496.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004318/0.3614, allocations: 2.588 MB / 498.8 MB, free: 3.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007201/0.3686, allocations: 4.043 MB / 0.4911 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02128/0.3899, allocations: 18.44 MB / 0.5091 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3899, allocations: 0 / 0.5091 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3899, allocations: 0 / 0.5091 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000461/0.3903, allocations: 3.938 kB / 0.5091 GB, free: 13.3 MB / 430.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.03032/0.4207, allocations: 10.55 MB / 0.5194 GB, free: 2.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4207, allocations: 8.031 kB / 0.5194 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/0.4405, allocations: 3.714 MB / 0.5231 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.4532, allocations: 5.425 MB / 0.5284 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000639/0.4538, allocations: 0.6902 MB / 0.529 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002675/0.4565, allocations: 0.8867 MB / 0.5299 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4096/0.8661, allocations: 12.81 MB / 0.5424 GB, free: 87.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/0.8664, allocations: 6.141 kB / 0.5424 GB, free: 87.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/0.8683, allocations: 375.9 kB / 0.5428 GB, free: 86.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004149/0.8687, allocations: 400.8 kB / 0.5431 GB, free: 86.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.8883, allocations: 11.4 MB / 0.5543 GB, free: 82.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05454/0.9429, allocations: 37.36 MB / 0.5908 GB, free: 46.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.9495, allocations: 4.177 MB / 0.5948 GB, free: 42.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.9511, allocations: 1.53 MB / 0.5963 GB, free: 40.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.9513, allocations: 69.94 kB / 0.5964 GB, free: 40.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.9513, allocations: 60.5 kB / 0.5965 GB, free: 40.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.778e-06/0.9513, allocations: 0 / 0.5965 GB, free: 40.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006816/0.9582, allocations: 4.598 MB / 0.601 GB, free: 36.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.9582, allocations: 85.34 kB / 0.601 GB, free: 36.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/0.9614, allocations: 3.038 MB / 0.604 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.9615, allocations: 61.7 kB / 0.6041 GB, free: 33.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.963, allocations: 3.983 MB / 0.6079 GB, free: 29.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000453/0.9634, allocations: 0.8336 MB / 0.6088 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009991/0.9644, allocations: 0.9605 MB / 0.6097 GB, free: 27.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.9645, allocations: 301.1 kB / 0.61 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.9664, allocations: 1.973 MB / 0.6119 GB, free: 25.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.9692, allocations: 4.165 MB / 0.616 GB, free: 20.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005028/0.9742, allocations: 6.517 MB / 0.6223 GB, free: 12.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-05/0.9742, allocations: 20 kB / 0.6224 GB, free: 12.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007809/0.982, allocations: 6.524 MB / 0.6287 GB, free: 6.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.9821, allocations: 36 kB / 0.6288 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.615e-05/0.9822, allocations: 76 kB / 0.6288 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/0.9829, allocations: 412.7 kB / 0.6292 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.9859, allocations: 1.072 MB / 0.6303 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/0.9897, allocations: 4.187 MB / 0.6344 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.993, allocations: 0.6286 MB / 0.635 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005742/0.9936, allocations: 244 kB / 0.6352 GB, free: 15.31 MB / 462.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.005641/0.9993, allocations: 3.376 MB / 0.6385 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/1, allocations: 290.2 kB / 0.6388 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006387/1.006, allocations: 3.568 MB / 0.6423 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004469/1.011, allocations: 2.807 MB / 0.645 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.011, allocations: 4 kB / 0.645 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/1.011, allocations: 15.95 kB / 0.645 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.028, allocations: 8.006 MB / 0.6529 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.028, allocations: 0 / 0.6529 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.03, allocations: 419.4 kB / 0.6533 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007727/1.03, allocations: 312.7 kB / 0.6536 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/1.031, allocations: 51.98 kB / 0.6536 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005544/1.036, allocations: 4.01 MB / 0.6575 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.036, allocations: 0 / 0.6575 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008343/1.044, allocations: 5.136 MB / 0.6625 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.046, allocations: 0.5561 MB / 0.6631 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004771/1.047, allocations: 43.94 kB / 0.6631 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.048, allocations: 131.8 kB / 0.6632 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/1.048, allocations: 157.6 kB / 0.6634 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.048, allocations: 67.98 kB / 0.6635 GB, free: 2.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003564/1.052, allocations: 1.939 MB / 0.6654 GB, free: 216 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.052, allocations: 8 kB / 0.6654 GB, free: 208 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.006318/1.058, allocations: 1.992 MB / 0.6673 GB, free: 14.2 MB / 494.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.000692/1.059, allocations: 202.7 kB / 0.6675 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0078/1.067, allocations: 4.443 MB / 0.6718 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.067, allocations: 0 / 0.6718 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/1.07, allocations: 1.623 MB / 0.6734 GB, free: 7.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.073, allocations: 0.6677 MB / 0.6741 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02592/1.099, allocations: 13.24 MB / 0.687 GB, free: 9.953 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006576/1.105, allocations: 5.008 MB / 0.6919 GB, free: 4.902 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.107, allocations: 283.4 kB / 0.6922 GB, free: 4.625 MB / 0.4982 GB Notification: Performance of SimCode: time 1.322e-06/1.107, allocations: 0 / 0.6922 GB, free: 4.625 MB / 0.4982 GB Notification: Performance of Templates: time 0.4124/1.519, allocations: 136 MB / 0.825 GB, free: 113.7 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.326607634022366]