Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.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.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",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.001379/0.001379, allocations: 108.4 kB / 16.92 MB, free: 6.141 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.001427/0.001428, allocations: 191.3 kB / 17.85 MB, free: 5.309 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.565/1.565, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.289/1.289, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 0.491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6769, allocations: 80.69 MB / 0.5698 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.003534/0.6805, allocations: 2.02 MB / 0.5718 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.6815, allocations: 0.5407 MB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.6817, allocations: 5.312 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.6819, allocations: 30.41 kB / 0.5724 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.6822, allocations: 43.94 kB / 0.5724 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.6825, allocations: 66.84 kB / 0.5725 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.6829, allocations: 452.3 kB / 0.5729 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.6832, allocations: 174.7 kB / 0.5731 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.6834, allocations: 171.4 kB / 0.5732 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.6837, allocations: 191.3 kB / 0.5734 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.519e-05/0.6838, allocations: 32.03 kB / 0.5735 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.6839, allocations: 33.97 kB / 0.5735 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.684, allocations: 90.95 kB / 0.5736 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.6842, allocations: 182.7 kB / 0.5738 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.6846, allocations: 459.9 kB / 0.5742 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6846, allocations: 0 / 0.5742 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6846, allocations: 0 / 0.5742 GB, free: 40.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.6846, allocations: 0 / 0.5742 GB, free: 40.21 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00126/0.6859, allocations: 0.7219 MB / 0.5749 GB, free: 39.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.686, allocations: 12.73 kB / 0.5749 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.712e-05/0.686, allocations: 71 kB / 0.575 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.6862, allocations: 40.75 kB / 0.575 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.6866, allocations: 310.8 kB / 0.5753 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6866, allocations: 29.5 kB / 0.5753 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.6866, allocations: 28.41 kB / 0.5754 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.6873, allocations: 405 kB / 0.5758 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6874, allocations: 1.406 kB / 0.5758 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.6874, allocations: 10.16 kB / 0.5758 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.6874, allocations: 7.375 kB / 0.5758 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.6879, allocations: 339.2 kB / 0.5761 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.6898, allocations: 1.255 MB / 0.5773 GB, free: 37.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.6902, allocations: 291.3 kB / 0.5776 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.6905, allocations: 182.9 kB / 0.5778 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.6905, allocations: 2.75 kB / 0.5778 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.691, allocations: 294.6 kB / 0.5781 GB, free: 37.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/0.691, allocations: 4 kB / 0.5781 GB, free: 37.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001789/0.6928, allocations: 0.7771 MB / 0.5788 GB, free: 36.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.6929, allocations: 164.7 kB / 0.579 GB, free: 36.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.6932, allocations: 313.6 kB / 0.5793 GB, free: 36.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.6933, allocations: 35.23 kB / 0.5793 GB, free: 36.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6934, allocations: 190.7 kB / 0.5795 GB, free: 36.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.6935, allocations: 84.66 kB / 0.5796 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6936, allocations: 79.47 kB / 0.5796 GB, free: 36.24 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.6937, allocations: 343 kB / 0.58 GB, free: 35.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.694, allocations: 167 kB / 0.5801 GB, free: 35.83 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.6943, allocations: 257.7 kB / 0.5804 GB, free: 35.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.6947, allocations: 356.6 kB / 0.5807 GB, free: 35.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6948, allocations: 1.281 kB / 0.5807 GB, free: 35.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009118/0.6957, allocations: 0.5677 MB / 0.5813 GB, free: 35.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6957, allocations: 8.969 kB / 0.5813 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6957, allocations: 5.266 kB / 0.5813 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.6961, allocations: 117.1 kB / 0.5814 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.6963, allocations: 53.98 kB / 0.5814 GB, free: 35.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.6985, allocations: 2.279 MB / 0.5837 GB, free: 33.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.6989, allocations: 63.22 kB / 0.5837 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.699, allocations: 16.83 kB / 0.5838 GB, free: 33.09 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (B[1].open,$PRE.B[1].open,$whenCondition5,B[2].open,$PRE.B[2].open,$whenCondition3,B[3].open,$PRE.B[3].open,$whenCondition1,B[3].G,$PRE.B[3].G,B[2].G,$PRE.B[2].G,B[1].G,$PRE.B[1].G,$whenCondition2,$whenCondition4,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002921/0.6993, allocations: 211.7 kB / 0.584 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.6994, allocations: 26.88 kB / 0.584 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.6994, allocations: 38.55 kB / 0.584 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6994, allocations: 2.5 kB / 0.584 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.6995, allocations: 5.781 kB / 0.584 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6995, allocations: 5.25 kB / 0.584 GB, free: 32.87 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.6999, allocations: 391 kB / 0.5844 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6999, allocations: 0 / 0.5844 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.7, allocations: 15.98 kB / 0.5844 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.7003, allocations: 124.3 kB / 0.5845 GB, free: 32.47 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.7004, allocations: 9.844 kB / 0.5845 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.7023, allocations: 2.285 MB / 0.5868 GB, free: 30.52 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7023, allocations: 0 / 0.5868 GB, free: 30.52 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.7034, allocations: 0.6336 MB / 0.5874 GB, free: 30.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.7035, allocations: 112.6 kB / 0.5875 GB, free: 30.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.7035, allocations: 9.25 kB / 0.5875 GB, free: 30.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.7038, allocations: 44.66 kB / 0.5876 GB, free: 30.02 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.7039, allocations: 33.36 kB / 0.5876 GB, free: 30 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.7039, allocations: 19.42 kB / 0.5876 GB, free: 29.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002289/0.7042, allocations: 217 kB / 0.5878 GB, free: 29.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7042, allocations: 0 / 0.5878 GB, free: 29.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005122/0.7047, allocations: 127.7 kB / 0.5879 GB, free: 29.82 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/0.7061, allocations: 1.206 MB / 0.5891 GB, free: 28.91 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.7072, allocations: 0.5719 MB / 0.5897 GB, free: 28.54 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7072, allocations: 0 / 0.5897 GB, free: 28.54 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.7076, allocations: 354.8 kB / 0.59 GB, free: 28.18 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.708, allocations: 66.02 kB / 0.5901 GB, free: 28.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.7116, allocations: 3.584 MB / 0.5936 GB, free: 24.42 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.7119, allocations: 0.8458 MB / 0.5944 GB, free: 23.55 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.712, allocations: 55.22 kB / 0.5944 GB, free: 23.49 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7121, allocations: 95.39 kB / 0.5945 GB, free: 23.4 MB / 462.3 MB Notification: Performance of SimCode: time 8.62e-07/0.7121, allocations: 0 / 0.5945 GB, free: 23.4 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.7482, allocations: 8.253 MB / 0.6026 GB, free: 15.38 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.98, allocations: 8.297 kB / 0.6026 GB, free: 15.37 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches