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.000873/0.000873, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003373/0.003373, allocations: 154 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8645/0.8645, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.994e-06/1.994e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.48e-05, allocations: 7.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01455/0.01459, allocations: 14.26 MB / 340.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.02526, allocations: 4.032 MB / 344.1 MB, free: 13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/0.0293, allocations: 163.2 kB / 344.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.04052, allocations: 7.346 MB / 351.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006437/0.04696, allocations: 1.37 MB / 353 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.04985, allocations: 1.219 MB / 354.2 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007786/0.05764, allocations: 8.58 MB / 362.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01976/0.0774, allocations: 14.26 MB / 377 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009979/0.08738, allocations: 7.325 MB / 384.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00671/0.09409, allocations: 4.635 MB / 389 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003262/0.09735, allocations: 1.383 MB / 390.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.1019, allocations: 1.656 MB / 392 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003747/0.1056, allocations: 2.634 MB / 394.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006682/0.1123, allocations: 3.49 MB / 398.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.1293, allocations: 18.53 MB / 416.7 MB, free: 4.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1293, allocations: 8 kB / 416.7 MB, free: 4.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1293, allocations: 0 / 416.7 MB, free: 4.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005592/0.1298, allocations: 0 / 416.7 MB, free: 4.059 MB / 378.7 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.02379/0.1536, allocations: 10.46 MB / 427.2 MB, free: 9.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1537, allocations: 15.97 kB / 427.2 MB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.1643, allocations: 3.714 MB / 430.9 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00955/0.1739, allocations: 5.425 MB / 436.3 MB, free: 304 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/0.1745, allocations: 0.6828 MB / 437 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003139/0.1777, allocations: 0.8944 MB / 437.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/0.2052, allocations: 12.81 MB / 450.7 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/0.2054, allocations: 7.953 kB / 450.7 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/0.2074, allocations: 376 kB / 451.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/0.2077, allocations: 399.1 kB / 451.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3035/0.5112, allocations: 11.4 MB / 462.9 MB, free: 102.1 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04863/0.5598, allocations: 37.38 MB / 0.4885 GB, free: 65.35 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/0.5642, allocations: 4.175 MB / 0.4926 GB, free: 61.45 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.5654, allocations: 1.534 MB / 0.4941 GB, free: 59.91 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.5656, allocations: 69.94 kB / 0.4942 GB, free: 59.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5656, allocations: 56.56 kB / 0.4942 GB, free: 59.78 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.499e-06/0.5656, allocations: 2.438 kB / 0.4942 GB, free: 59.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004819/0.5705, allocations: 4.597 MB / 0.4987 GB, free: 55.18 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.5705, allocations: 73.41 kB / 0.4988 GB, free: 55.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.5732, allocations: 3.037 MB / 0.5017 GB, free: 52.14 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.5734, allocations: 61.7 kB / 0.5018 GB, free: 52.07 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.5745, allocations: 3.976 MB / 0.5057 GB, free: 48.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.5749, allocations: 0.8275 MB / 0.5065 GB, free: 47.64 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007882/0.5757, allocations: 0.9488 MB / 0.5074 GB, free: 46.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.633e-05/0.5757, allocations: 301.1 kB / 0.5077 GB, free: 46.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.5774, allocations: 1.976 MB / 0.5096 GB, free: 44.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.5796, allocations: 4.161 MB / 0.5137 GB, free: 39.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/0.5838, allocations: 6.517 MB / 0.5201 GB, free: 31.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/0.5839, allocations: 27.94 kB / 0.5201 GB, free: 31.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.006249/0.5902, allocations: 6.52 MB / 0.5264 GB, free: 25.05 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.5902, allocations: 36 kB / 0.5265 GB, free: 25.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.668e-05/0.5903, allocations: 80.19 kB / 0.5266 GB, free: 24.94 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/0.5908, allocations: 404.6 kB / 0.5269 GB, free: 24.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.5926, allocations: 1.068 MB / 0.528 GB, free: 23.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.5959, allocations: 4.186 MB / 0.5321 GB, free: 19.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.5981, allocations: 0.6286 MB / 0.5327 GB, free: 18.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/0.5985, allocations: 252 kB / 0.5329 GB, free: 18.3 MB / 410.8 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.00391/0.6024, allocations: 3.365 MB / 0.5362 GB, free: 14.92 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.6028, allocations: 290.2 kB / 0.5365 GB, free: 14.63 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.6061, allocations: 3.576 MB / 0.54 GB, free: 11.03 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002252/0.6083, allocations: 2.815 MB / 0.5427 GB, free: 8.207 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.6083, allocations: 4 kB / 0.5427 GB, free: 8.203 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6083, allocations: 11.95 kB / 0.5427 GB, free: 8.191 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00996/0.6183, allocations: 7.995 MB / 0.5506 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.6183, allocations: 0 / 0.5506 GB, free: 184 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/0.6191, allocations: 415.4 kB / 0.551 GB, free: 15.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/0.6196, allocations: 321.3 kB / 0.5513 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.6198, allocations: 51.98 kB / 0.5513 GB, free: 15.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.623, allocations: 4.008 MB / 0.5552 GB, free: 11.31 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.623, allocations: 3.938 kB / 0.5552 GB, free: 11.3 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/0.6281, allocations: 5.136 MB / 0.5602 GB, free: 6.133 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/0.629, allocations: 0.5522 MB / 0.5608 GB, free: 5.578 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.6292, allocations: 36 kB / 0.5608 GB, free: 5.543 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.6298, allocations: 135.8 kB / 0.5609 GB, free: 5.41 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.63, allocations: 157.6 kB / 0.5611 GB, free: 5.254 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/0.6301, allocations: 72.03 kB / 0.5612 GB, free: 5.184 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002138/0.6323, allocations: 1.943 MB / 0.5631 GB, free: 3.227 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6323, allocations: 0 / 0.5631 GB, free: 3.227 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003722/0.636, allocations: 1.988 MB / 0.565 GB, free: 1.23 MB / 426.8 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.0004292/0.6364, allocations: 207.6 kB / 0.5652 GB, free: 1.023 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004989/0.6414, allocations: 4.446 MB / 0.5695 GB, free: 12.57 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.6414, allocations: 2 kB / 0.5695 GB, free: 12.57 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.643, allocations: 1.62 MB / 0.5711 GB, free: 10.94 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.6449, allocations: 0.6687 MB / 0.5718 GB, free: 10.29 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.6622, allocations: 13.19 MB / 0.5847 GB, free: 13.03 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004785/0.667, allocations: 5.012 MB / 0.5896 GB, free: 7.969 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/0.6678, allocations: 280.4 kB / 0.5898 GB, free: 7.691 MB / 458.8 MB Notification: Performance of SimCode: time 1.943e-06/0.6678, allocations: 0 / 0.5898 GB, free: 7.691 MB / 458.8 MB Notification: Performance of Templates: time 0.2321/0.8999, allocations: 135.9 MB / 0.7226 GB, free: 87.04 MB / 490.8 MB " [Timeout remaining time 659] 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: 9.79273431841284]