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.0007891/0.0007891, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008118/0.0008118, allocations: 160.5 kB / 25.45 MB, free: 9.348 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.8944/0.8944, allocations: 158.6 MB / 187.2 MB, free: 3.059 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.623e-06/1.623e-06, allocations: 0 / 299.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.636e-05, allocations: 2.281 kB / 299.7 MB, free: 7 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01081/0.01084, allocations: 14.53 MB / 314.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008665/0.01951, allocations: 4.139 MB / 318.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.02181, allocations: 135.4 kB / 318.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006944/0.02876, allocations: 7.357 MB / 325.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.03218, allocations: 1.436 MB / 327.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.03417, allocations: 1.336 MB / 328.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007398/0.04156, allocations: 8.912 MB / 337.6 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01571/0.05727, allocations: 14.35 MB / 351.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1783/0.2356, allocations: 7.512 MB / 359.4 MB, free: 25.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.2465, allocations: 4.849 MB / 364.3 MB, free: 25.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00583/0.2523, allocations: 1.408 MB / 365.7 MB, free: 25.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007666/0.26, allocations: 1.662 MB / 367.3 MB, free: 25.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005993/0.266, allocations: 2.758 MB / 370.1 MB, free: 25.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009878/0.2759, allocations: 3.596 MB / 373.7 MB, free: 25.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.2932, allocations: 18.75 MB / 392.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2932, allocations: 1.031 kB / 392.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.2932, allocations: 0 / 392.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006074/0.2939, allocations: 3.781 kB / 392.4 MB, free: 14.62 MB / 330.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.02483/0.3187, allocations: 10.81 MB / 403.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3187, allocations: 11.98 kB / 403.3 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/0.338, allocations: 5.753 MB / 409 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009754/0.3477, allocations: 4.912 MB / 413.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005288/0.3483, allocations: 0.7127 MB / 414.6 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/0.3519, allocations: 0.92 MB / 415.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/0.3849, allocations: 13.68 MB / 429.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/0.3851, allocations: 7.953 kB / 429.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002834/0.3879, allocations: 397.6 kB / 429.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003177/0.3883, allocations: 452 kB / 430.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.4143, allocations: 12.78 MB / 442.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06797/0.4822, allocations: 39.3 MB / 482.1 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006814/0.489, allocations: 5.296 MB / 487.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.4909, allocations: 1.69 MB / 489.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007193/0.4981, allocations: 5.4 MB / 494.5 MB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4981, allocations: 60.55 kB / 494.6 MB, free: 10.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 3.707e-06/0.4981, allocations: 0 / 494.6 MB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.005217/0.5033, allocations: 4.229 MB / 498.8 MB, free: 6.035 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.5034, allocations: 73.41 kB / 498.9 MB, free: 5.949 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/0.5076, allocations: 3.474 MB / 0.4906 GB, free: 2.457 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.5077, allocations: 57.7 kB / 0.4906 GB, free: 2.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/0.5099, allocations: 4.33 MB / 0.4949 GB, free: 14.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/0.5106, allocations: 0.7182 MB / 0.4956 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.5118, allocations: 1.055 MB / 0.4966 GB, free: 12.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.5119, allocations: 301.1 kB / 0.4969 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.5142, allocations: 2.044 MB / 0.4989 GB, free: 9.934 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.5178, allocations: 4.69 MB / 0.5035 GB, free: 3.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.178/0.6958, allocations: 7.085 MB / 0.5104 GB, free: 137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.762e-05/0.6959, allocations: 26.28 kB / 0.5104 GB, free: 137 MB / 442.7 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.0106/0.7065, allocations: 7.028 MB / 0.5173 GB, free: 134.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.7065, allocations: 43.84 kB / 0.5173 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.7067, allocations: 96.88 kB / 0.5174 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/0.7075, allocations: 428.6 kB / 0.5178 GB, free: 134.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/0.7101, allocations: 1.174 MB / 0.519 GB, free: 134.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.7136, allocations: 4.173 MB / 0.523 GB, free: 131.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.7165, allocations: 0.7348 MB / 0.5238 GB, free: 131.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/0.7171, allocations: 291 kB / 0.524 GB, free: 131.6 MB / 442.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.004752/0.7218, allocations: 3.488 MB / 0.5274 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005298/0.7223, allocations: 301.1 kB / 0.5277 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.7255, allocations: 3.297 MB / 0.531 GB, free: 128.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002/0.7275, allocations: 2.535 MB / 0.5334 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7275, allocations: 8.594 kB / 0.5334 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.7275, allocations: 11.25 kB / 0.5334 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009565/0.737, allocations: 7.427 MB / 0.5407 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.737, allocations: 1 kB / 0.5407 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.7378, allocations: 359.5 kB / 0.541 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.7382, allocations: 311.5 kB / 0.5413 GB, free: 124.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.7383, allocations: 48.62 kB / 0.5414 GB, free: 124.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.7409, allocations: 3.994 MB / 0.5453 GB, free: 120.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.741, allocations: 4 kB / 0.5453 GB, free: 120.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.7449, allocations: 4.704 MB / 0.5499 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.7458, allocations: 0.5376 MB / 0.5504 GB, free: 116.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.746, allocations: 37.75 kB / 0.5504 GB, free: 116.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.7466, allocations: 137.1 kB / 0.5506 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.7468, allocations: 133.6 kB / 0.5507 GB, free: 116.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.7469, allocations: 56.78 kB / 0.5508 GB, free: 116.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002292/0.7492, allocations: 2.167 MB / 0.5529 GB, free: 114.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7492, allocations: 0 / 0.5529 GB, free: 114.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004598/0.7538, allocations: 2.062 MB / 0.5549 GB, free: 112.2 MB / 442.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.0004302/0.7542, allocations: 187.6 kB / 0.5551 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005039/0.7592, allocations: 4.524 MB / 0.5595 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7592, allocations: 128 / 0.5595 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.7606, allocations: 1.475 MB / 0.5609 GB, free: 106.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.7627, allocations: 0.6855 MB / 0.5616 GB, free: 106.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.7813, allocations: 13.74 MB / 0.575 GB, free: 92.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004119/0.7855, allocations: 5.155 MB / 0.58 GB, free: 87.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/0.7863, allocations: 284.4 kB / 0.5803 GB, free: 87.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7863, allocations: 0 / 0.5803 GB, free: 87.19 MB / 442.7 MB Notification: Performance of Templates: time 0.2582/1.045, allocations: 139.4 MB / 0.7164 GB, free: 140.8 MB / 458.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 10.789488279260695]