Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.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.000879/0.000879, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007961/0.0007961, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.846/0.846, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5905/0.5905, allocations: 88.06 MB / 348.7 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 0 / 0.523 GB, free: 4.082 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.548e-05, allocations: 2.281 kB / 0.523 GB, free: 4.078 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.005658/0.005684, allocations: 7.056 MB / 0.5299 GB, free: 12.99 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.00848, allocations: 1.416 MB / 0.5312 GB, free: 11.57 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007964/0.009277, allocations: 31.94 kB / 0.5313 GB, free: 11.54 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008837/0.01016, allocations: 449.2 kB / 0.5317 GB, free: 11.1 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.01193, allocations: 301.2 kB / 0.532 GB, free: 10.8 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.01321, allocations: 0.6768 MB / 0.5327 GB, free: 10.12 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.000876/0.01409, allocations: 1.057 MB / 0.5337 GB, free: 9.062 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.01451, allocations: 408 kB / 0.5341 GB, free: 8.645 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.01496, allocations: 0.6276 MB / 0.5347 GB, free: 8.016 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004184/0.01538, allocations: 426.8 kB / 0.5351 GB, free: 7.598 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01549, allocations: 116 kB / 0.5352 GB, free: 7.484 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.01585, allocations: 227.7 kB / 0.5354 GB, free: 7.262 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.01622, allocations: 239.1 kB / 0.5356 GB, free: 7.027 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.01644, allocations: 379 kB / 0.536 GB, free: 6.656 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.01766, allocations: 1.671 MB / 0.5376 GB, free: 4.98 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.01767, allocations: 0 / 0.5376 GB, free: 4.98 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01767, allocations: 3.938 kB / 0.5376 GB, free: 4.977 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.01769, allocations: 0 / 0.5376 GB, free: 4.977 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002666/0.02035, allocations: 1.73 MB / 0.5393 GB, free: 3.207 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.0204, allocations: 8.031 kB / 0.5393 GB, free: 3.199 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.02056, allocations: 173.7 kB / 0.5395 GB, free: 3.02 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.02067, allocations: 124.1 kB / 0.5396 GB, free: 2.898 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.02128, allocations: 0.5152 MB / 0.5401 GB, free: 2.355 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.02132, allocations: 90.73 kB / 0.5402 GB, free: 2.266 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.02143, allocations: 112.4 kB / 0.5403 GB, free: 2.156 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.02261, allocations: 1.161 MB / 0.5415 GB, free: 0.9375 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.02263, allocations: 192 / 0.5415 GB, free: 0.9375 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.02269, allocations: 52.38 kB / 0.5415 GB, free: 0.8867 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.0227, allocations: 32.12 kB / 0.5415 GB, free: 0.8555 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.02367, allocations: 0.8563 MB / 0.5424 GB, free: 15.99 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.02741, allocations: 3.961 MB / 0.5462 GB, free: 11.87 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.02805, allocations: 0.5003 MB / 0.5467 GB, free: 11.36 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.02831, allocations: 268.1 kB / 0.547 GB, free: 11.09 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.02833, allocations: 8.5 kB / 0.547 GB, free: 11.09 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.02836, allocations: 39.06 kB / 0.547 GB, free: 11.04 MB / 474.8 MB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.02836, allocations: 0 / 0.547 GB, free: 11.04 MB / 474.8 MB Notification: Performance of matching and sorting (n=53): time 0.003086/0.03145, allocations: 1.678 MB / 0.5487 GB, free: 9.352 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.03148, allocations: 63.78 kB / 0.5487 GB, free: 9.277 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.03189, allocations: 469.6 kB / 0.5492 GB, free: 8.812 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.03192, allocations: 37.7 kB / 0.5492 GB, free: 8.77 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.0324, allocations: 0.4919 MB / 0.5497 GB, free: 8.27 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.03249, allocations: 194.4 kB / 0.5499 GB, free: 8.078 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.03261, allocations: 126.6 kB / 0.55 GB, free: 7.949 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.03271, allocations: 358.8 kB / 0.5503 GB, free: 7.59 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.03291, allocations: 197.9 kB / 0.5505 GB, free: 7.395 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.03321, allocations: 436.4 kB / 0.5509 GB, free: 6.863 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.03377, allocations: 0.6737 MB / 0.5516 GB, free: 6.09 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.03378, allocations: 4 kB / 0.5516 GB, free: 6.086 MB / 474.8 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001093/0.03487, allocations: 0.9697 MB / 0.5526 GB, free: 5.109 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.0349, allocations: 10.66 kB / 0.5526 GB, free: 5.102 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.03491, allocations: 8 kB / 0.5526 GB, free: 5.094 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.03556, allocations: 380.6 kB / 0.5529 GB, free: 4.719 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.03572, allocations: 83.84 kB / 0.553 GB, free: 4.637 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.03983, allocations: 4.138 MB / 0.5571 GB, free: 392 kB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.04013, allocations: 79.41 kB / 0.5571 GB, free: 312 kB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.04016, allocations: 32 kB / 0.5572 GB, free: 280 kB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load_2_2.controller.local_reset,load_2_1.controller.local_reset,load_1_2.controller.local_reset,load_1_1.controller.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(7,30,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.04047, allocations: 257.6 kB / 0.5574 GB, free: 12 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.04055, allocations: 51.72 kB / 0.5575 GB, free: 15.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.04061, allocations: 65.17 kB / 0.5575 GB, free: 15.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.04061, allocations: 11.94 kB / 0.5575 GB, free: 15.88 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.04063, allocations: 4 kB / 0.5575 GB, free: 15.88 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.04064, allocations: 0 / 0.5575 GB, free: 15.88 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.04123, allocations: 0.6841 MB / 0.5582 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.04124, allocations: 4 kB / 0.5582 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.04134, allocations: 27.98 kB / 0.5582 GB, free: 15.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005329/0.04187, allocations: 364.4 kB / 0.5586 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.04189, allocations: 15.98 kB / 0.5586 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.04546, allocations: 4.101 MB / 0.5626 GB, free: 10.53 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04546, allocations: 0 / 0.5626 GB, free: 10.53 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.04692, allocations: 1.114 MB / 0.5637 GB, free: 9.398 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.04701, allocations: 59.52 kB / 0.5637 GB, free: 9.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.04705, allocations: 15.98 kB / 0.5638 GB, free: 9.324 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.04718, allocations: 12 kB / 0.5638 GB, free: 9.312 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.04725, allocations: 44.41 kB / 0.5638 GB, free: 9.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.04726, allocations: 20 kB / 0.5638 GB, free: 9.25 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002556/0.04752, allocations: 311.1 kB / 0.5641 GB, free: 8.945 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04752, allocations: 0 / 0.5641 GB, free: 8.945 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0007335/0.04825, allocations: 315.2 kB / 0.5644 GB, free: 8.637 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load_1_1.controller.y,load_1_2.controller.y,load_2_1.controller.y,load_2_2.controller.y) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(7,30,77.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.04967, allocations: 1.686 MB / 0.5661 GB, free: 6.914 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.05079, allocations: 0.8474 MB / 0.5669 GB, free: 6.059 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.05079, allocations: 0 / 0.5669 GB, free: 6.059 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.05135, allocations: 0.5654 MB / 0.5675 GB, free: 5.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.05171, allocations: 53.64 kB / 0.5675 GB, free: 5.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007179/0.05889, allocations: 6.23 MB / 0.5736 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/0.05972, allocations: 382 kB / 0.574 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.05984, allocations: 48.72 kB / 0.574 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.06009, allocations: 296.4 kB / 0.5743 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of SimCode: time 1.483e-06/0.06009, allocations: 0 / 0.5743 GB, free: 14.17 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.09037, allocations: 16.15 MB / 0.5901 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.425, allocations: 2.969 kB / 0.5901 GB, free: 14.28 MB / 0.5105 GB " [Timeout remaining time 292] (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.99661657679826]