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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 112.1 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.014/1.014, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.53 kB / 0.5704 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1727, allocations: 80.71 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.009618/0.1823, allocations: 8.031 MB / 0.6571 GB, free: 5.523 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003745/0.1861, allocations: 1.49 MB / 0.6585 GB, free: 4.027 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.1875, allocations: 31.94 kB / 0.6585 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.1893, allocations: 457.3 kB / 0.659 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1909, allocations: 281.4 kB / 0.6592 GB, free: 3.27 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.1934, allocations: 0.8644 MB / 0.6601 GB, free: 2.402 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001967/0.1954, allocations: 1.015 MB / 0.6611 GB, free: 1.387 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.1967, allocations: 0.6389 MB / 0.6617 GB, free: 0.7227 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006892/0.1975, allocations: 422.4 kB / 0.6621 GB, free: 316 kB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009907/0.1985, allocations: 0.5681 MB / 0.6627 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003485/0.1988, allocations: 116 kB / 0.6628 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.1996, allocations: 235.8 kB / 0.663 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.1999, allocations: 235.2 kB / 0.6632 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007851/0.2007, allocations: 0.5599 MB / 0.6638 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.2032, allocations: 1.679 MB / 0.6654 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2033, allocations: 0 / 0.6654 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2033, allocations: 0 / 0.6654 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.056e-05/0.2033, allocations: 0 / 0.6654 GB, free: 12.92 MB / 0.5139 GB 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.005732/0.2091, allocations: 1.791 MB / 0.6672 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.2092, allocations: 15.89 kB / 0.6672 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003435/0.2095, allocations: 173.7 kB / 0.6673 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.2098, allocations: 111.6 kB / 0.6674 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.2109, allocations: 0.5688 MB / 0.668 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/0.211, allocations: 86.73 kB / 0.6681 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.2111, allocations: 116.4 kB / 0.6682 GB, free: 9.957 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.2132, allocations: 1.165 MB / 0.6693 GB, free: 8.734 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2132, allocations: 7.875 kB / 0.6693 GB, free: 8.727 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.2133, allocations: 48 kB / 0.6694 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.2134, allocations: 28 kB / 0.6694 GB, free: 8.652 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.215, allocations: 0.8601 MB / 0.6703 GB, free: 7.785 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.2214, allocations: 4.423 MB / 0.6746 GB, free: 3.203 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/0.2225, allocations: 0.5356 MB / 0.6751 GB, free: 2.66 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.2229, allocations: 308.9 kB / 0.6754 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.223, allocations: 8.375 kB / 0.6754 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.223, allocations: 42.94 kB / 0.6754 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 3.496e-06/0.223, allocations: 0 / 0.6754 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.00523/0.2282, allocations: 1.779 MB / 0.6772 GB, free: 500 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.2283, allocations: 59.84 kB / 0.6772 GB, free: 428 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.229, allocations: 449.9 kB / 0.6777 GB, free: 15.97 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.2291, allocations: 37.7 kB / 0.6777 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.2295, allocations: 486 kB / 0.6782 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.2297, allocations: 185.2 kB / 0.6783 GB, free: 15.26 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.2299, allocations: 126.6 kB / 0.6785 GB, free: 15.13 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2301, allocations: 366.8 kB / 0.6788 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.2305, allocations: 197.9 kB / 0.679 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.231, allocations: 427.6 kB / 0.6794 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/0.2319, allocations: 0.6784 MB / 0.6801 GB, free: 13.27 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.232, allocations: 4 kB / 0.6801 GB, free: 13.27 MB / 0.5295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00192/0.2339, allocations: 0.9903 MB / 0.681 GB, free: 12.26 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2339, allocations: 8 kB / 0.681 GB, free: 12.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.234, allocations: 11.98 kB / 0.6811 GB, free: 12.24 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.2351, allocations: 385 kB / 0.6814 GB, free: 11.86 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.2354, allocations: 87.83 kB / 0.6815 GB, free: 11.78 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.2416, allocations: 4.289 MB / 0.6857 GB, free: 7.344 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.2422, allocations: 79.16 kB / 0.6858 GB, free: 7.266 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.2423, allocations: 31.94 kB / 0.6858 GB, free: 7.234 MB / 0.5295 GB 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.0004967/0.2428, allocations: 266.5 kB / 0.6861 GB, free: 6.965 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.2429, allocations: 51.34 kB / 0.6861 GB, free: 6.914 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.2431, allocations: 69.22 kB / 0.6862 GB, free: 6.844 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2431, allocations: 4 kB / 0.6862 GB, free: 6.84 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.2431, allocations: 4 kB / 0.6862 GB, free: 6.836 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.2431, allocations: 11.92 kB / 0.6862 GB, free: 6.824 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2443, allocations: 0.7941 MB / 0.687 GB, free: 5.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.2443, allocations: 3.938 kB / 0.687 GB, free: 5.977 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2445, allocations: 31.92 kB / 0.687 GB, free: 5.945 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000942/0.2455, allocations: 373 kB / 0.6874 GB, free: 5.578 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.2455, allocations: 8 kB / 0.6874 GB, free: 5.57 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006081/0.2516, allocations: 4.286 MB / 0.6916 GB, free: 1.145 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2516, allocations: 0 / 0.6916 GB, free: 1.145 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.2536, allocations: 1.128 MB / 0.6927 GB, free: 0 / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.2539, allocations: 136.4 kB / 0.6928 GB, free: 15.85 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.254, allocations: 12 kB / 0.6928 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.2542, allocations: 11.98 kB / 0.6928 GB, free: 15.82 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2544, allocations: 44.38 kB / 0.6928 GB, free: 15.78 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.2544, allocations: 12 kB / 0.6929 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0003784/0.2548, allocations: 319.1 kB / 0.6932 GB, free: 15.46 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2548, allocations: 0 / 0.6932 GB, free: 15.46 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001098/0.2559, allocations: 310.9 kB / 0.6935 GB, free: 15.16 MB / 0.5452 GB 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.002265/0.2582, allocations: 1.697 MB / 0.6951 GB, free: 13.42 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.26, allocations: 0.8937 MB / 0.696 GB, free: 12.52 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.26, allocations: 3.938 kB / 0.696 GB, free: 12.52 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.261, allocations: 0.592 MB / 0.6966 GB, free: 11.91 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.2616, allocations: 53.55 kB / 0.6966 GB, free: 11.86 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.2718, allocations: 6.251 MB / 0.7027 GB, free: 5.324 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.2726, allocations: 0.9728 MB / 0.7037 GB, free: 4.324 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.2728, allocations: 44.78 kB / 0.7037 GB, free: 4.277 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.2732, allocations: 299.3 kB / 0.704 GB, free: 3.984 MB / 0.5452 GB Notification: Performance of SimCode: time 1.112e-06/0.2732, allocations: 0 / 0.704 GB, free: 3.984 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.3229, allocations: 15.39 MB / 0.719 GB, free: 4.848 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.788/10.11, allocations: 8.812 kB / 0.719 GB, free: 4.84 MB / 0.5608 GB (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 --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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches