Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001077/0.001077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002582, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001058/0.001058, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.00239, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.995/0.995, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09794/1.093, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.762/1.762, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5735/2.336, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.324e-05, allocations: 6.781 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00369/0.003704, allocations: 4.177 MB / 0.7334 GB, free: 396 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.005444, allocations: 1.585 MB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.005616, allocations: 32.56 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.006028, allocations: 191.4 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.00643, allocations: 408.5 kB / 0.7355 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.006786, allocations: 321.8 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.007433, allocations: 1.041 MB / 0.7369 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.007791, allocations: 383.9 kB / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.008237, allocations: 0.5733 MB / 0.7378 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.008614, allocations: 403.8 kB / 0.7382 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.008663, allocations: 48 kB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.008885, allocations: 132.7 kB / 0.7384 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.009107, allocations: 239.4 kB / 0.7386 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.009266, allocations: 201 kB / 0.7388 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.009715, allocations: 0.5605 MB / 0.7393 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.00973, allocations: 0 / 0.7393 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.009731, allocations: 0 / 0.7393 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.009748, allocations: 0.6562 kB / 0.7393 GB, free: 10.31 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009846/0.01073, allocations: 0.9922 MB / 0.7403 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.01077, allocations: 8.031 kB / 0.7403 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.01141, allocations: 314.3 kB / 0.7406 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.01185, allocations: 438.4 kB / 0.741 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.01188, allocations: 37.36 kB / 0.7411 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.01197, allocations: 56.55 kB / 0.7411 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.01246, allocations: 0.6973 MB / 0.7418 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.01248, allocations: 8.141 kB / 0.7418 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.01252, allocations: 36.55 kB / 0.7418 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.7e-05/0.0126, allocations: 65.64 kB / 0.7419 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.01284, allocations: 199.8 kB / 0.7421 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.01463, allocations: 3.019 MB / 0.745 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.01479, allocations: 176.6 kB / 0.7452 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.01486, allocations: 69.39 kB / 0.7453 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.01487, allocations: 4.281 kB / 0.7453 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.01489, allocations: 35.78 kB / 0.7453 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.052e-06/0.01489, allocations: 0 / 0.7453 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.001485/0.01638, allocations: 0.9827 MB / 0.7463 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.0164, allocations: 56.91 kB / 0.7463 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.01661, allocations: 395 kB / 0.7467 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.01667, allocations: 29.7 kB / 0.7467 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.01679, allocations: 317.3 kB / 0.747 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.01685, allocations: 128 kB / 0.7471 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.01694, allocations: 94.25 kB / 0.7472 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.01703, allocations: 366.6 kB / 0.7476 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.0171, allocations: 61.02 kB / 0.7476 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01723, allocations: 227.4 kB / 0.7479 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.01748, allocations: 353.4 kB / 0.7482 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01748, allocations: 4 kB / 0.7482 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004373/0.01792, allocations: 421 kB / 0.7486 GB, free: 292 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01793, allocations: 6.656 kB / 0.7486 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01794, allocations: 8 kB / 0.7486 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.01829, allocations: 156.1 kB / 0.7488 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.01855, allocations: 118.5 kB / 0.7489 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.01995, allocations: 2.644 MB / 0.7515 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.02008, allocations: 17.16 kB / 0.7515 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.0201, allocations: 23.98 kB / 0.7515 GB, free: 13.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.02021, allocations: 145 kB / 0.7516 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.02026, allocations: 45.86 kB / 0.7517 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.02063, allocations: 324.4 kB / 0.752 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.02063, allocations: 4 kB / 0.752 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.02064, allocations: 4 kB / 0.752 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02064, allocations: 12.77 kB / 0.752 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.02131, allocations: 0.68 MB / 0.7527 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02131, allocations: 0 / 0.7527 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.02148, allocations: 71.39 kB / 0.7527 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.02157, allocations: 67.64 kB / 0.7528 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.02187, allocations: 136.6 kB / 0.7529 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.02189, allocations: 8 kB / 0.7529 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.02321, allocations: 2.651 MB / 0.7555 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.02321, allocations: 4 kB / 0.7555 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.02367, allocations: 0.5253 MB / 0.7561 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.02371, allocations: 9 kB / 0.7561 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.02382, allocations: 11.98 kB / 0.7561 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.02386, allocations: 31.89 kB / 0.7561 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.02387, allocations: 9.188 kB / 0.7561 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.273e-05/0.02396, allocations: 160.7 kB / 0.7563 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-08/0.02396, allocations: 0 / 0.7563 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002941/0.02426, allocations: 152.8 kB / 0.7564 GB, free: 7.809 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.779e-05/0.02435, allocations: 98.61 kB / 0.7565 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.02482, allocations: 0.5122 MB / 0.757 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.02484, allocations: 12 kB / 0.757 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.02509, allocations: 389.6 kB / 0.7574 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.0255, allocations: 203 kB / 0.7576 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.02921, allocations: 1.081 MB / 0.7586 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.82e-05/0.02931, allocations: 178.3 kB / 0.7588 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.02947, allocations: 66.3 kB / 0.7589 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.02968, allocations: 169.9 kB / 0.759 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.02968, allocations: 0 / 0.759 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.01011/0.0398, allocations: 8.888 MB / 0.7677 GB, free: 12.39 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068444496951997]