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.000959/0.000959, allocations: 88.86 kB / 21.5 MB, free: 2.984 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.001045/0.001045, allocations: 159.5 kB / 24.91 MB, free: 9.191 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.9187/0.9187, allocations: 177 MB / 205.2 MB, free: 5.473 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.784e-06/1.784e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.613e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01471/0.01473, allocations: 15.37 MB / 288.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1239/0.1386, allocations: 4.366 MB / 293.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.1415, allocations: 161.4 kB / 293.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008562/0.1501, allocations: 7.897 MB / 301.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.1555, allocations: 1.371 MB / 302.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.1586, allocations: 1.235 MB / 303.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008302/0.1669, allocations: 8.584 MB / 312.4 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02002/0.1869, allocations: 14.69 MB / 327.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.1997, allocations: 7.454 MB / 334.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008912/0.2087, allocations: 5.35 MB / 339.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003546/0.2122, allocations: 1.383 MB / 341.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.2172, allocations: 1.673 MB / 343 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003823/0.221, allocations: 2.674 MB / 345.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006273/0.2273, allocations: 3.529 MB / 349.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.2373, allocations: 8.862 MB / 358 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2373, allocations: 0 / 358 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2373, allocations: 0 / 358 MB, free: 12.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003957/0.2377, allocations: 0 / 358 MB, free: 12.79 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.0186/0.2563, allocations: 10.36 MB / 368.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2563, allocations: 11.98 kB / 368.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.2683, allocations: 3.739 MB / 372.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/0.273, allocations: 2.634 MB / 374.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006192/0.2736, allocations: 0.6833 MB / 375.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.2747, allocations: 0.8867 MB / 376.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009695/0.2844, allocations: 6.096 MB / 382.4 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.2845, allocations: 11.94 kB / 382.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009745/0.2855, allocations: 380 kB / 382.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002619/0.2858, allocations: 395.1 kB / 383.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004963/0.2907, allocations: 2.361 MB / 385.6 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.3264, allocations: 26.94 MB / 412.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.3295, allocations: 2.423 MB / 414.9 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.3301, allocations: 495.8 kB / 415.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.3303, allocations: 81.94 kB / 415.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.3303, allocations: 60.56 kB / 415.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 5.29e-06/0.3303, allocations: 0 / 415.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002957/0.3333, allocations: 1.73 MB / 417.3 MB, free: 196 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3333, allocations: 73.41 kB / 417.4 MB, free: 108 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/0.3355, allocations: 1.962 MB / 419.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3356, allocations: 61.7 kB / 419.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.3371, allocations: 3.773 MB / 423.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/0.3376, allocations: 0.8213 MB / 424 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/0.3384, allocations: 0.8781 MB / 424.8 MB, free: 8.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.3385, allocations: 309 kB / 425.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.3395, allocations: 0.6402 MB / 425.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.3409, allocations: 2.615 MB / 428.4 MB, free: 3.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2143/0.5553, allocations: 3.653 MB / 432.1 MB, free: 94.54 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.381e-05/0.5553, allocations: 20.72 kB / 432.1 MB, free: 94.54 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004635/0.56, allocations: 2.987 MB / 435.1 MB, free: 94.44 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.56, allocations: 37.88 kB / 435.1 MB, free: 94.44 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.55e-05/0.5601, allocations: 74.81 kB / 435.2 MB, free: 94.44 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.5608, allocations: 348.7 kB / 435.5 MB, free: 94.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.5627, allocations: 1.034 MB / 436.5 MB, free: 94.41 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.5647, allocations: 2.502 MB / 439 MB, free: 93.12 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.567, allocations: 0.5432 MB / 439.6 MB, free: 93.12 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.5673, allocations: 205 kB / 439.8 MB, free: 93.12 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.001544/0.5688, allocations: 455.1 kB / 440.2 MB, free: 93 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.5693, allocations: 230.1 kB / 440.5 MB, free: 92.99 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.5714, allocations: 1.552 MB / 442 MB, free: 92.82 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001084/0.5725, allocations: 0.8185 MB / 442.8 MB, free: 92.74 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5725, allocations: 3.156 kB / 442.8 MB, free: 92.74 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.5725, allocations: 11.58 kB / 442.8 MB, free: 92.74 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.5801, allocations: 5.572 MB / 448.4 MB, free: 92.24 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5801, allocations: 0 / 448.4 MB, free: 92.24 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5811, allocations: 368.5 kB / 448.8 MB, free: 92.24 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005817/0.5817, allocations: 257 kB / 449 MB, free: 92.22 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-05/0.5818, allocations: 41.69 kB / 449.1 MB, free: 92.22 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.5837, allocations: 2.351 MB / 451.4 MB, free: 90.92 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5837, allocations: 3.906 kB / 451.4 MB, free: 90.92 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.586, allocations: 1.743 MB / 453.2 MB, free: 90.6 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.5867, allocations: 348.3 kB / 453.5 MB, free: 90.6 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.5869, allocations: 42.62 kB / 453.5 MB, free: 90.6 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.5875, allocations: 53.7 kB / 453.6 MB, free: 90.6 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.5877, allocations: 148.5 kB / 453.7 MB, free: 90.6 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5878, allocations: 47.95 kB / 453.8 MB, free: 90.6 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0009015/0.5887, allocations: 0.8426 MB / 454.6 MB, free: 90.51 MB / 378.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5887, allocations: 0 / 454.6 MB, free: 90.51 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003843/0.5926, allocations: 1.994 MB / 456.6 MB, free: 90.22 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.0003396/0.5929, allocations: 187.5 kB / 456.8 MB, free: 90.15 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003014/0.5959, allocations: 2.203 MB / 459 MB, free: 89.87 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001167/0.596, allocations: 56.22 kB / 459.1 MB, free: 89.86 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009588/0.597, allocations: 0.862 MB / 459.9 MB, free: 89.69 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.599, allocations: 0.6754 MB / 460.6 MB, free: 89.64 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.6152, allocations: 11.38 MB / 472 MB, free: 80.71 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.6169, allocations: 1.583 MB / 473.6 MB, free: 79.62 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001257/0.6181, allocations: 489 kB / 474 MB, free: 79.25 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009861/0.6191, allocations: 0.646 MB / 474.7 MB, free: 78.68 MB / 378.8 MB Notification: Performance of SimCode: time 1.884e-06/0.6191, allocations: 0 / 474.7 MB, free: 78.68 MB / 378.8 MB Notification: Performance of Templates: time 0.05237/0.6715, allocations: 42.49 MB / 0.5051 GB, free: 37 MB / 378.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.788825803902]