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.001424/0.001424, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001523/0.001523, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 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 1.463/1.463, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 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 1.493e-06/1.493e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.965e-05, allocations: 6.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01992/0.01995, allocations: 14.27 MB / 286.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1298/0.1497, allocations: 4.051 MB / 290.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.1527, allocations: 164.2 kB / 290.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0153/0.168, allocations: 7.329 MB / 298 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.1734, allocations: 1.366 MB / 299.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.1766, allocations: 1.228 MB / 300.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009735/0.1863, allocations: 8.583 MB / 309.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02211/0.2084, allocations: 14.26 MB / 323.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01685/0.2253, allocations: 7.32 MB / 330.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.237, allocations: 4.636 MB / 335.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005083/0.2421, allocations: 1.379 MB / 336.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007784/0.2499, allocations: 1.667 MB / 338.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005672/0.2555, allocations: 2.626 MB / 341.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01077/0.2663, allocations: 3.487 MB / 344.6 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03085/0.2971, allocations: 18.54 MB / 363.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.2972, allocations: 11.92 kB / 363.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2972, allocations: 0 / 363.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007032/0.2979, allocations: 0 / 363.1 MB, free: 6.551 MB / 314.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.03683/0.3347, allocations: 10.46 MB / 373.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3347, allocations: 15.98 kB / 373.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/0.3577, allocations: 4.842 MB / 378.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.3723, allocations: 5.669 MB / 384.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008952/0.3731, allocations: 0.6835 MB / 384.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003963/0.3771, allocations: 0.8867 MB / 385.7 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.4122, allocations: 12.81 MB / 398.5 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/0.4124, allocations: 7.953 kB / 398.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001893/0.4143, allocations: 376 kB / 398.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004771/0.4148, allocations: 399.1 kB / 399.3 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/0.4427, allocations: 11.4 MB / 410.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3094/0.7522, allocations: 38.62 MB / 449.3 MB, free: 91.16 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007275/0.7594, allocations: 4.184 MB / 453.5 MB, free: 91.07 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.7613, allocations: 1.537 MB / 455 MB, free: 91.06 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.7615, allocations: 82.53 kB / 455.1 MB, free: 91.06 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7615, allocations: 62.25 kB / 455.1 MB, free: 91.02 MB / 378.8 MB Notification: Performance of pre-optimization done (n=223): time 4.438e-06/0.7615, allocations: 3.438 kB / 455.1 MB, free: 91.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=223): time 0.007452/0.769, allocations: 4.676 MB / 459.8 MB, free: 89.98 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.769, allocations: 76.06 kB / 459.9 MB, free: 89.91 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.7724, allocations: 3.037 MB / 462.9 MB, free: 88.85 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.7726, allocations: 61.64 kB / 463 MB, free: 88.79 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.7741, allocations: 3.965 MB / 467 MB, free: 86.46 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/0.7746, allocations: 0.8157 MB / 467.8 MB, free: 85.9 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.7757, allocations: 0.95 MB / 468.7 MB, free: 85.43 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.7757, allocations: 304.9 kB / 469 MB, free: 85.13 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.7778, allocations: 1.975 MB / 471 MB, free: 84.28 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.7807, allocations: 4.165 MB / 475.2 MB, free: 80.31 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.786, allocations: 6.522 MB / 481.7 MB, free: 75 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/0.7861, allocations: 18.81 kB / 481.7 MB, free: 75 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007884/0.794, allocations: 6.759 MB / 488.5 MB, free: 70.69 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.794, allocations: 39.94 kB / 488.5 MB, free: 70.65 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.039e-05/0.7941, allocations: 76 kB / 488.6 MB, free: 70.57 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.7952, allocations: 0.4943 MB / 489.1 MB, free: 70.08 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.798, allocations: 1.068 MB / 490.1 MB, free: 69.01 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.8018, allocations: 4.214 MB / 494.4 MB, free: 64.7 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.8045, allocations: 0.6209 MB / 495 MB, free: 64.07 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.8048, allocations: 252 kB / 495.2 MB, free: 63.82 MB / 378.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.003712/0.8085, allocations: 3.361 MB / 498.6 MB, free: 60.45 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/0.809, allocations: 366 kB / 498.9 MB, free: 60.09 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.8135, allocations: 3.576 MB / 0.4907 GB, free: 56.5 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00317/0.8167, allocations: 2.811 MB / 0.4935 GB, free: 53.68 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.8167, allocations: 7.938 kB / 0.4935 GB, free: 53.67 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.8167, allocations: 11.95 kB / 0.4935 GB, free: 53.66 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.8281, allocations: 8.009 MB / 0.5013 GB, free: 45.64 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.8281, allocations: 4.031 kB / 0.5013 GB, free: 45.64 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.8295, allocations: 419.3 kB / 0.5017 GB, free: 45.23 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.8305, allocations: 400.9 kB / 0.5021 GB, free: 44.84 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.8307, allocations: 55.98 kB / 0.5022 GB, free: 44.78 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/0.8343, allocations: 4.034 MB / 0.5061 GB, free: 40.65 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8343, allocations: 4.625 kB / 0.5061 GB, free: 40.65 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.84, allocations: 5.206 MB / 0.5112 GB, free: 35.41 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.8411, allocations: 0.5562 MB / 0.5117 GB, free: 34.85 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.8414, allocations: 44 kB / 0.5118 GB, free: 34.8 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.8424, allocations: 127.9 kB / 0.5119 GB, free: 34.68 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.8427, allocations: 165.6 kB / 0.5121 GB, free: 34.52 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.8428, allocations: 67.98 kB / 0.5121 GB, free: 34.45 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002101/0.8449, allocations: 1.943 MB / 0.514 GB, free: 32.5 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.8449, allocations: 0 / 0.514 GB, free: 32.5 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004346/0.8493, allocations: 1.988 MB / 0.516 GB, free: 30.5 MB / 378.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.0004037/0.8497, allocations: 206.1 kB / 0.5162 GB, free: 30.3 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.8549, allocations: 4.445 MB / 0.5205 GB, free: 25.86 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8549, allocations: 0 / 0.5205 GB, free: 25.86 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.8567, allocations: 1.625 MB / 0.5221 GB, free: 24.23 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.8594, allocations: 0.6808 MB / 0.5227 GB, free: 23.6 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.8754, allocations: 13.68 MB / 0.5361 GB, free: 9.809 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003938/0.8793, allocations: 5.172 MB / 0.5412 GB, free: 4.594 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003124/0.8825, allocations: 1.69 MB / 0.5428 GB, free: 2.898 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/0.883, allocations: 240.5 kB / 0.543 GB, free: 2.664 MB / 378.8 MB Notification: Performance of SimCode: time 1.233e-06/0.883, allocations: 0 / 0.543 GB, free: 2.664 MB / 378.8 MB Notification: Performance of Templates: time 0.1902/1.073, allocations: 38.78 MB / 0.5809 GB, free: 123.4 MB / 410.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: 6.444325392018072]