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.0007934/0.0007934, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0008771/0.0008771, allocations: 162.7 kB / 25.7 MB, free: 8.406 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.9495/0.9495, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.413e-06/1.413e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.912e-05, allocations: 6.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01169/0.0117, allocations: 15.68 MB / 267.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008104/0.01981, allocations: 4.491 MB / 271.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.02207, allocations: 135.4 kB / 271.9 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008243/0.03031, allocations: 7.929 MB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.03493, allocations: 1.428 MB / 281.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.03738, allocations: 1.329 MB / 282.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008435/0.04581, allocations: 8.908 MB / 291.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01752/0.06334, allocations: 14.81 MB / 306.3 MB, free: 80 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007991/0.07133, allocations: 7.645 MB / 313.9 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006554/0.07788, allocations: 5.564 MB / 319.5 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002981/0.08086, allocations: 1.398 MB / 320.9 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.0847, allocations: 1.675 MB / 322.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.08752, allocations: 2.801 MB / 325.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005407/0.09293, allocations: 3.653 MB / 329 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.104, allocations: 9.1 MB / 338.1 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.104, allocations: 0 / 338.1 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.104, allocations: 0 / 338.1 MB, free: 184 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004187/0.1045, allocations: 0 / 338.1 MB, free: 184 kB / 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.01705/0.1215, allocations: 10.69 MB / 348.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1216, allocations: 11.98 kB / 348.8 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1321/0.2536, allocations: 5.422 MB / 354.2 MB, free: 72.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007979/0.2616, allocations: 2.179 MB / 356.4 MB, free: 72.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004311/0.262, allocations: 0.7055 MB / 357.1 MB, free: 72.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.2637, allocations: 0.924 MB / 358 MB, free: 72.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.2753, allocations: 6.448 MB / 364.5 MB, free: 71.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.2755, allocations: 10.14 kB / 364.5 MB, free: 71.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009614/0.2765, allocations: 387.8 kB / 364.9 MB, free: 71.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/0.2768, allocations: 460.6 kB / 365.3 MB, free: 71.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006445/0.2833, allocations: 2.728 MB / 368.1 MB, free: 71.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/0.3148, allocations: 27.99 MB / 396.1 MB, free: 50.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.3184, allocations: 3.214 MB / 399.3 MB, free: 47.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.3189, allocations: 0.547 MB / 399.8 MB, free: 46.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003948/0.3228, allocations: 2.772 MB / 402.6 MB, free: 44.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3229, allocations: 56.5 kB / 402.6 MB, free: 44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=188): time 3.276e-06/0.3229, allocations: 0 / 402.6 MB, free: 44 MB / 330.7 MB Notification: Performance of matching and sorting (n=188): time 0.002598/0.3255, allocations: 1.694 MB / 404.3 MB, free: 42.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.3255, allocations: 73.41 kB / 404.4 MB, free: 42.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.3269, allocations: 2.271 MB / 406.7 MB, free: 40.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.327, allocations: 61.69 kB / 406.7 MB, free: 40.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000903/0.3279, allocations: 4.132 MB / 410.9 MB, free: 36.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.3282, allocations: 0.7167 MB / 411.6 MB, free: 35.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006873/0.3289, allocations: 0.9735 MB / 412.6 MB, free: 34.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.861e-05/0.3289, allocations: 301.1 kB / 412.9 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.3296, allocations: 0.6807 MB / 413.5 MB, free: 33.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.3307, allocations: 3.106 MB / 416.6 MB, free: 29.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.3332, allocations: 4.237 MB / 420.9 MB, free: 24.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.3332, allocations: 28 kB / 420.9 MB, free: 24.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.003313/0.3366, allocations: 3.355 MB / 424.3 MB, free: 21.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.3366, allocations: 44 kB / 424.3 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.841e-05/0.3366, allocations: 92 kB / 424.4 MB, free: 21.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.3372, allocations: 368.8 kB / 424.8 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.3389, allocations: 1.143 MB / 425.9 MB, free: 20.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.3406, allocations: 2.524 MB / 428.4 MB, free: 17.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.3422, allocations: 0.6282 MB / 429 MB, free: 17.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.3424, allocations: 236 kB / 429.3 MB, free: 16.83 MB / 330.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.001199/0.3436, allocations: 496.1 kB / 429.8 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.3439, allocations: 223.8 kB / 430 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3453, allocations: 1.461 MB / 431.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007135/0.346, allocations: 0.7527 MB / 432.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.346, allocations: 4 kB / 432.2 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.346, allocations: 7.969 kB / 432.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.3504, allocations: 4.179 MB / 436.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3504, allocations: 4 kB / 436.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/0.3511, allocations: 301.9 kB / 436.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.3515, allocations: 247.9 kB / 436.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.3516, allocations: 39.98 kB / 437 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.353, allocations: 2.348 MB / 439.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.353, allocations: 0 / 439.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3546, allocations: 1.571 MB / 440.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.355, allocations: 337.5 kB / 441.2 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3552, allocations: 40.03 kB / 441.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.3556, allocations: 51.98 kB / 441.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3558, allocations: 129.7 kB / 441.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.3558, allocations: 36 kB / 441.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006745/0.3565, allocations: 0.958 MB / 442.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 0 / 442.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003057/0.3596, allocations: 2.058 MB / 444.5 MB, free: 2.719 MB / 330.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.0002699/0.3598, allocations: 178.8 kB / 444.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.362, allocations: 2.334 MB / 447 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.794e-05/0.3621, allocations: 59.94 kB / 447 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006936/0.3628, allocations: 0.7878 MB / 447.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.3643, allocations: 0.6851 MB / 448.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.3795, allocations: 11.92 MB / 460.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.381, allocations: 1.637 MB / 462.1 MB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001344/0.3824, allocations: 0.5217 MB / 462.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.3834, allocations: 0.6463 MB / 463.2 MB, free: 260 kB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3834, allocations: 0 / 463.2 MB, free: 260 kB / 346.7 MB Notification: Performance of Templates: time 0.1696/0.553, allocations: 40 MB / 0.4915 GB, free: 108.2 MB / 378.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 -s gbode -gbm=radauIIA3 -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: 3.7428406081162393]