Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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.001149/0.001149, allocations: 107 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.001467/0.001467, allocations: 215.7 kB / 23 MB, free: 5.574 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.419/1.419, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.83 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2429, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01996/0.2628, allocations: 16.61 MB / 446.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2729, allocations: 4.173 MB / 450.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.2765, allocations: 135.6 kB / 450.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.2941, allocations: 7.485 MB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.3002, allocations: 1.343 MB / 459.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.3037, allocations: 1.231 MB / 460.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01385/0.3175, allocations: 8.25 MB / 469 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03584/0.3534, allocations: 13.67 MB / 482.7 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.3639, allocations: 4.813 MB / 487.5 MB, free: 13.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.3752, allocations: 5.353 MB / 492.9 MB, free: 8.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003574/0.3788, allocations: 1.383 MB / 494.2 MB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005154/0.3839, allocations: 1.664 MB / 495.9 MB, free: 5.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004814/0.3887, allocations: 2.595 MB / 498.5 MB, free: 2.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00978/0.3985, allocations: 5.218 MB / 0.4919 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.4224, allocations: 18.34 MB / 0.5098 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4224, allocations: 0 / 0.5098 GB, free: 10.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4224, allocations: 8 kB / 0.5098 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005339/0.4229, allocations: 0 / 0.5098 GB, free: 10.82 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.03241/0.4553, allocations: 10.63 MB / 0.5202 GB, free: 108 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4554, allocations: 12.03 kB / 0.5202 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/0.476, allocations: 3.71 MB / 0.5238 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.487, allocations: 5.372 MB / 0.5291 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006451/0.4877, allocations: 0.6823 MB / 0.5298 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/0.4907, allocations: 0.8906 MB / 0.5306 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4728/0.9636, allocations: 12.73 MB / 0.5431 GB, free: 85.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.9638, allocations: 6.953 kB / 0.5431 GB, free: 85.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001588/0.9654, allocations: 380.8 kB / 0.5434 GB, free: 84.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003385/0.9657, allocations: 397.8 kB / 0.5438 GB, free: 84.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.9856, allocations: 11.43 MB / 0.555 GB, free: 79.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05132/1.037, allocations: 43.71 MB / 0.5977 GB, free: 38.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007907/1.045, allocations: 10.28 MB / 0.6077 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/1.047, allocations: 1.545 MB / 0.6092 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/1.047, allocations: 231.5 kB / 0.6094 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.047, allocations: 56.56 kB / 0.6095 GB, free: 24.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.168e-06/1.047, allocations: 0 / 0.6095 GB, free: 24.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007909/1.055, allocations: 4.687 MB / 0.6141 GB, free: 20.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.055, allocations: 81.34 kB / 0.6141 GB, free: 20.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/1.059, allocations: 2.935 MB / 0.617 GB, free: 17.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.06, allocations: 61.7 kB / 0.6171 GB, free: 17.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.061, allocations: 3.98 MB / 0.621 GB, free: 13.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/1.062, allocations: 0.8247 MB / 0.6218 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/1.063, allocations: 0.9605 MB / 0.6227 GB, free: 11.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/1.063, allocations: 301.1 kB / 0.623 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/1.065, allocations: 1.98 MB / 0.6249 GB, free: 9.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/1.069, allocations: 4.155 MB / 0.629 GB, free: 4.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007185/1.076, allocations: 6.521 MB / 0.6353 GB, free: 12.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.373e-05/1.076, allocations: 24 kB / 0.6354 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01166/1.087, allocations: 6.52 MB / 0.6417 GB, free: 6.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/1.088, allocations: 36.19 kB / 0.6418 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/1.088, allocations: 80 kB / 0.6418 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.089, allocations: 412.5 kB / 0.6422 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.092, allocations: 1.064 MB / 0.6433 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/1.098, allocations: 4.389 MB / 0.6476 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/1.101, allocations: 0.6325 MB / 0.6482 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006804/1.102, allocations: 248 kB / 0.6484 GB, free: 15.07 MB / 478.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.005713/1.108, allocations: 3.373 MB / 0.6517 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007454/1.109, allocations: 286.2 kB / 0.652 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/1.115, allocations: 3.577 MB / 0.6555 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004628/1.12, allocations: 2.811 MB / 0.6582 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.12, allocations: 4 kB / 0.6582 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.12, allocations: 11.95 kB / 0.6582 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/1.139, allocations: 9.87 MB / 0.6679 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.139, allocations: 0 / 0.6679 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.141, allocations: 427.5 kB / 0.6683 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008159/1.142, allocations: 312.8 kB / 0.6686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/1.142, allocations: 47.98 kB / 0.6686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/1.148, allocations: 4.204 MB / 0.6727 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.148, allocations: 0 / 0.6727 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/1.156, allocations: 5.146 MB / 0.6778 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.157, allocations: 0.6119 MB / 0.6784 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.158, allocations: 47.94 kB / 0.6784 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.159, allocations: 127.8 kB / 0.6785 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/1.16, allocations: 153.8 kB / 0.6787 GB, free: 15.79 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.16, allocations: 75.86 kB / 0.6787 GB, free: 15.71 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003472/1.163, allocations: 1.963 MB / 0.6807 GB, free: 13.74 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.1e-08/1.163, allocations: 3.938 kB / 0.6807 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005277/1.169, allocations: 1.984 MB / 0.6826 GB, free: 11.74 MB / 0.4982 GB 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.0004912/1.169, allocations: 206.8 kB / 0.6828 GB, free: 11.53 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.007649/1.177, allocations: 4.433 MB / 0.6871 GB, free: 7.086 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.177, allocations: 0.875 kB / 0.6871 GB, free: 7.086 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002694/1.179, allocations: 1.625 MB / 0.6887 GB, free: 5.453 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.183, allocations: 0.6852 MB / 0.6894 GB, free: 4.789 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03016/1.213, allocations: 13.52 MB / 0.7026 GB, free: 7.203 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/1.224, allocations: 5.641 MB / 0.7081 GB, free: 1.523 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004932/1.229, allocations: 1.694 MB / 0.7097 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.23, allocations: 243.3 kB / 0.71 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of SimCode: time 1.723e-06/1.23, allocations: 0 / 0.71 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.2853/1.515, allocations: 42.11 MB / 0.7511 GB, free: 178.7 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.942362412810326]