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.001443/0.001443, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001448/0.001448, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.445/1.445, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.001599/0.001599, allocations: 47.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01787/0.289, allocations: 14.24 MB / 437.3 MB, free: 160 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008668/0.2977, allocations: 3.978 MB / 441.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.3003, allocations: 163.2 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01703/0.3173, allocations: 6.915 MB / 448.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006973/0.3243, allocations: 1.475 MB / 449.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004584/0.3289, allocations: 1.092 MB / 450.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.3405, allocations: 8.316 MB / 459.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02727/0.3678, allocations: 14.21 MB / 473.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006816/0.3746, allocations: 4.91 MB / 478.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007875/0.3824, allocations: 5.174 MB / 483.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002966/0.3854, allocations: 1.391 MB / 484.9 MB, free: 260 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004467/0.3899, allocations: 1.629 MB / 486.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003153/0.393, allocations: 2.595 MB / 489.2 MB, free: 12.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007072/0.4001, allocations: 4.039 MB / 493.2 MB, free: 7.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.4207, allocations: 18.43 MB / 0.4996 GB, free: 5.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4207, allocations: 0 / 0.4996 GB, free: 5.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4207, allocations: 0 / 0.4996 GB, free: 5.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000377/0.4211, allocations: 0 / 0.4996 GB, free: 5.488 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.029/0.4501, allocations: 10.55 MB / 0.5099 GB, free: 10.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4501, allocations: 8.031 kB / 0.5099 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/0.4699, allocations: 3.772 MB / 0.5136 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.484, allocations: 5.429 MB / 0.5189 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007727/0.4848, allocations: 0.6785 MB / 0.5196 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003191/0.488, allocations: 0.8906 MB / 0.5205 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03337/0.5214, allocations: 12.79 MB / 0.533 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003816/0.5218, allocations: 15.94 kB / 0.533 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/0.5243, allocations: 376 kB / 0.5333 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004462/0.5248, allocations: 399.1 kB / 0.5337 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4042/0.929, allocations: 11.37 MB / 0.5448 GB, free: 96.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05058/0.9795, allocations: 37.32 MB / 0.5813 GB, free: 61.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006913/0.9865, allocations: 4.145 MB / 0.5853 GB, free: 58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.9881, allocations: 1.528 MB / 0.5868 GB, free: 56.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.9883, allocations: 53.97 kB / 0.5869 GB, free: 56.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.9883, allocations: 54.06 kB / 0.5869 GB, free: 56.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.731e-06/0.9883, allocations: 3.844 kB / 0.5869 GB, free: 56.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006984/0.9953, allocations: 4.58 MB / 0.5914 GB, free: 51.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.9953, allocations: 81.39 kB / 0.5915 GB, free: 51.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/0.9986, allocations: 3.034 MB / 0.5944 GB, free: 48.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.9988, allocations: 61.7 kB / 0.5945 GB, free: 48.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1, allocations: 3.99 MB / 0.5984 GB, free: 45.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/1.001, allocations: 0.83 MB / 0.5992 GB, free: 44.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000979/1.002, allocations: 0.9566 MB / 0.6001 GB, free: 43.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/1.002, allocations: 301.1 kB / 0.6004 GB, free: 42.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/1.004, allocations: 1.973 MB / 0.6023 GB, free: 40.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/1.007, allocations: 4.153 MB / 0.6064 GB, free: 35.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/1.012, allocations: 6.509 MB / 0.6128 GB, free: 28.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.254e-05/1.012, allocations: 31.94 kB / 0.6128 GB, free: 28.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008046/1.02, allocations: 6.503 MB / 0.6191 GB, free: 21.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/1.02, allocations: 36 kB / 0.6192 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-05/1.02, allocations: 79.94 kB / 0.6192 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/1.021, allocations: 416.7 kB / 0.6196 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/1.024, allocations: 1.057 MB / 0.6207 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/1.028, allocations: 4.19 MB / 0.6248 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.031, allocations: 0.6325 MB / 0.6254 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/1.031, allocations: 248 kB / 0.6256 GB, free: 14.91 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.004087/1.035, allocations: 3.361 MB / 0.6289 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005367/1.036, allocations: 294.1 kB / 0.6292 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/1.04, allocations: 3.584 MB / 0.6327 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003211/1.044, allocations: 2.792 MB / 0.6354 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.044, allocations: 4 kB / 0.6354 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/1.044, allocations: 11.95 kB / 0.6354 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.058, allocations: 7.984 MB / 0.6432 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.058, allocations: 0 / 0.6432 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.059, allocations: 415.4 kB / 0.6436 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/1.06, allocations: 316.7 kB / 0.6439 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.06, allocations: 47.98 kB / 0.644 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005558/1.066, allocations: 4.01 MB / 0.6479 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.066, allocations: 3.984 kB / 0.6479 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007979/1.074, allocations: 5.124 MB / 0.6529 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.075, allocations: 0.5522 MB / 0.6534 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/1.076, allocations: 44 kB / 0.6535 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.077, allocations: 127.8 kB / 0.6536 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/1.077, allocations: 161.7 kB / 0.6537 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.077, allocations: 63.98 kB / 0.6538 GB, free: 1.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003224/1.081, allocations: 1.939 MB / 0.6557 GB, free: 15.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.081, allocations: 0 / 0.6557 GB, free: 15.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005379/1.086, allocations: 1.992 MB / 0.6576 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.0004964/1.086, allocations: 210.8 kB / 0.6578 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007729/1.094, allocations: 4.434 MB / 0.6622 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.094, allocations: 0 / 0.6622 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/1.097, allocations: 1.614 MB / 0.6638 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.003289/1.1, allocations: 0.6774 MB / 0.6644 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/1.125, allocations: 13.56 MB / 0.6777 GB, free: 9.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007016/1.132, allocations: 5.172 MB / 0.6827 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004452/1.137, allocations: 1.694 MB / 0.6844 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/1.137, allocations: 227.4 kB / 0.6846 GB, free: 2.188 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/1.137, allocations: 0 / 0.6846 GB, free: 2.188 MB / 494.1 MB Notification: Performance of Templates: time 0.08933/1.227, allocations: 46.27 MB / 0.7298 GB, free: 4.379 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 6.54339755140245]