Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 164.8 kB / 25.33 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9067/0.9067, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.441e-05, allocations: 2.312 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01205/0.01208, allocations: 16.21 MB / 267.3 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008077/0.02015, allocations: 4.221 MB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.02331, allocations: 139.3 kB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008761/0.03207, allocations: 8.001 MB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.03707, allocations: 1.436 MB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.03971, allocations: 1.339 MB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008259/0.04797, allocations: 8.901 MB / 291.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02099/0.06896, allocations: 14.36 MB / 305.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.07959, allocations: 7.602 MB / 313.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007024/0.08662, allocations: 5.451 MB / 318.7 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003338/0.08995, allocations: 1.402 MB / 320.1 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.09423, allocations: 1.671 MB / 321.8 MB, free: 372 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.09615, allocations: 2.805 MB / 324.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005307/0.1015, allocations: 3.642 MB / 328.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.1134, allocations: 9.104 MB / 337.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1134, allocations: 3.984 kB / 337.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1134, allocations: 0 / 337.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003506/0.1138, allocations: 0 / 337.3 MB, free: 0.7695 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02795/0.1417, allocations: 11.77 MB / 349.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1418, allocations: 15.98 kB / 349.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1674/0.3092, allocations: 7.148 MB / 356.3 MB, free: 70.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/0.3159, allocations: 4.328 MB / 360.6 MB, free: 70.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/0.3164, allocations: 0.7053 MB / 361.3 MB, free: 70.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.318, allocations: 0.919 MB / 362.2 MB, free: 70.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.3316, allocations: 5.95 MB / 368.2 MB, free: 69.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.3318, allocations: 10.64 kB / 368.2 MB, free: 69.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007947/0.3326, allocations: 396 kB / 368.6 MB, free: 69.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003642/0.333, allocations: 460.5 kB / 369 MB, free: 69.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009726/0.3427, allocations: 4.008 MB / 373 MB, free: 69.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03383/0.3765, allocations: 37.01 MB / 410 MB, free: 35.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/0.3814, allocations: 4.628 MB / 414.7 MB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008364/0.3822, allocations: 0.7552 MB / 415.4 MB, free: 30.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004328/0.3866, allocations: 3.755 MB / 419.2 MB, free: 26.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3866, allocations: 59.14 kB / 419.2 MB, free: 26.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=188): time 3.135e-06/0.3866, allocations: 0 / 419.2 MB, free: 26.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=188): time 0.003151/0.3897, allocations: 2.284 MB / 421.5 MB, free: 24.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.3898, allocations: 69.41 kB / 421.6 MB, free: 24.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.3925, allocations: 3.326 MB / 424.9 MB, free: 20.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.3925, allocations: 57.7 kB / 425 MB, free: 20.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.394, allocations: 4.59 MB / 429.6 MB, free: 16.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.3943, allocations: 0.7495 MB / 430.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008364/0.3951, allocations: 1.218 MB / 431.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.371e-05/0.3952, allocations: 476.8 kB / 432 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000879/0.396, allocations: 0.6501 MB / 432.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.3978, allocations: 4.644 MB / 437.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.4011, allocations: 5.794 MB / 443.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.46e-05/0.4012, allocations: 24 kB / 443.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.005406/0.4066, allocations: 4.427 MB / 447.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.4066, allocations: 48.22 kB / 447.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.724e-05/0.4067, allocations: 92 kB / 447.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.4075, allocations: 403.3 kB / 448.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.4095, allocations: 1.173 MB / 449.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.4122, allocations: 3.488 MB / 452.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.4143, allocations: 0.7335 MB / 453.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.4146, allocations: 284 kB / 453.7 MB, free: 5.367 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.001606/0.4162, allocations: 0.5241 MB / 454.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.4166, allocations: 370 kB / 454.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4189, allocations: 1.896 MB / 456.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001477/0.4204, allocations: 1.174 MB / 457.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4204, allocations: 4 kB / 457.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.4204, allocations: 11.95 kB / 457.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009762/0.4302, allocations: 7.422 MB / 465.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.4302, allocations: 4 kB / 465.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.431, allocations: 357.6 kB / 465.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006166/0.4316, allocations: 279.8 kB / 465.8 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.4317, allocations: 40 kB / 465.8 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.4345, allocations: 3.314 MB / 469.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4345, allocations: 8 kB / 469.1 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.4375, allocations: 2.227 MB / 471.3 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/0.4382, allocations: 0.4897 MB / 471.8 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.4384, allocations: 32 kB / 471.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.4392, allocations: 135.8 kB / 472 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.4394, allocations: 137.7 kB / 472.1 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.4395, allocations: 51.98 kB / 472.2 MB, free: 2.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002051/0.4416, allocations: 1.397 MB / 473.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4416, allocations: 0 / 473.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005112/0.4467, allocations: 2.062 MB / 475.6 MB, free: 15.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.0004266/0.4471, allocations: 197.8 kB / 475.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004603/0.4517, allocations: 2.968 MB / 478.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4517, allocations: 0 / 478.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.453, allocations: 1.009 MB / 479.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.4552, allocations: 0.7012 MB / 480.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.4738, allocations: 11.95 MB / 492.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.4759, allocations: 2.359 MB / 494.8 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003266/0.4792, allocations: 1.59 MB / 496.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/0.4797, allocations: 236.5 kB / 496.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4797, allocations: 0 / 496.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of Templates: time 0.172/0.6517, allocations: 37.9 MB / 0.522 GB, free: 113 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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: 4.094457549974322]