Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.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.BreakerNetworkDelayed_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar",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.0008268/0.0008268, allocations: 86.64 kB / 16.31 MB, free: 6.449 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.0007723/0.0007723, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.329/1.329, allocations: 223.3 MB / 241.2 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7632/0.7632, allocations: 120.5 MB / 412.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 8 kB / 0.4944 GB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 82.85 MB / 0.5753 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar): time 0.002829/0.1641, allocations: 2.482 MB / 0.5777 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1656, allocations: 0.7133 MB / 0.5784 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.1659, allocations: 7.938 kB / 0.5784 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.1661, allocations: 39.69 kB / 0.5784 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1664, allocations: 83.3 kB / 0.5785 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1668, allocations: 107.9 kB / 0.5786 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.1673, allocations: 402.2 kB / 0.579 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.1676, allocations: 98.19 kB / 0.5791 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1678, allocations: 135.6 kB / 0.5792 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1681, allocations: 159.3 kB / 0.5794 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.1681, allocations: 16 kB / 0.5794 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.1682, allocations: 20 kB / 0.5794 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.1683, allocations: 55.77 kB / 0.5795 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1684, allocations: 101.5 kB / 0.5796 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1687, allocations: 303.4 kB / 0.5799 GB, free: 3.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1687, allocations: 0 / 0.5799 GB, free: 3.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1688, allocations: 0 / 0.5799 GB, free: 3.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.1688, allocations: 4 kB / 0.5799 GB, free: 3.258 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001098/0.1699, allocations: 0.6998 MB / 0.5805 GB, free: 2.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1699, allocations: 15.95 kB / 0.5806 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.844e-05/0.17, allocations: 78.47 kB / 0.5806 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.391e-05/0.1701, allocations: 43.53 kB / 0.5807 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1705, allocations: 266.4 kB / 0.5809 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.1705, allocations: 20.66 kB / 0.5809 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.1706, allocations: 32 kB / 0.581 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.1711, allocations: 294 kB / 0.5813 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1711, allocations: 0 / 0.5813 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1712, allocations: 20 kB / 0.5813 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1712, allocations: 7.953 kB / 0.5813 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.1716, allocations: 214.5 kB / 0.5815 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.1732, allocations: 1.046 MB / 0.5825 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1735, allocations: 223.2 kB / 0.5827 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4995/0.6731, allocations: 144.5 kB / 0.5829 GB, free: 16.21 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.6732, allocations: 3.766 kB / 0.5829 GB, free: 16.21 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008171/0.674, allocations: 443.9 kB / 0.5833 GB, free: 15.94 MB / 446.3 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.674, allocations: 2.344 kB / 0.5833 GB, free: 15.94 MB / 446.3 MB Notification: Performance of matching and sorting (n=42): time 0.001812/0.6758, allocations: 0.7918 MB / 0.5841 GB, free: 15.7 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.676, allocations: 410.1 kB / 0.5845 GB, free: 15.23 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.6763, allocations: 235.2 kB / 0.5847 GB, free: 15.12 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.6763, allocations: 39.84 kB / 0.5847 GB, free: 15.09 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.6764, allocations: 187.2 kB / 0.5849 GB, free: 14.99 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.6765, allocations: 114.9 kB / 0.585 GB, free: 14.93 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.6766, allocations: 12.59 kB / 0.585 GB, free: 14.93 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.6766, allocations: 345.6 kB / 0.5853 GB, free: 14.61 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.6769, allocations: 109.6 kB / 0.5854 GB, free: 14.61 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.6772, allocations: 196.3 kB / 0.5856 GB, free: 14.54 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.6774, allocations: 210.3 kB / 0.5858 GB, free: 14.44 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6774, allocations: 1.391 kB / 0.5858 GB, free: 14.44 MB / 446.3 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008599/0.6783, allocations: 0.5366 MB / 0.5864 GB, free: 14.27 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.6784, allocations: 92.53 kB / 0.5864 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.6784, allocations: 0.875 kB / 0.5864 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.6787, allocations: 80.36 kB / 0.5865 GB, free: 14.17 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.6789, allocations: 47.78 kB / 0.5866 GB, free: 14.16 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.6806, allocations: 1.755 MB / 0.5883 GB, free: 12.83 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.6809, allocations: 75.36 kB / 0.5884 GB, free: 12.81 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.681, allocations: 23.75 kB / 0.5884 GB, free: 12.8 MB / 446.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: 36 ($whenCondition11,$PRE.B1.open,B1.open,$whenCondition9,$PRE.B2.open,B2.open,$whenCondition7,$PRE.B3.open,B3.open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B1.triggered,B1.triggered,$PRE.B1.G,B1.G,$PRE.B1.timeClose,B1.timeClose,$PRE.B2.triggered,B2.triggered,$PRE.B2.G,B2.G,$PRE.B2.timeClose,B2.timeClose,$PRE.B3.triggered,B3.triggered,$PRE.B3.G,B3.G,$PRE.B3.timeClose,B3.timeClose) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.6812, allocations: 263.6 kB / 0.5886 GB, free: 12.56 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.6813, allocations: 36.77 kB / 0.5887 GB, free: 12.54 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.6813, allocations: 36.95 kB / 0.5887 GB, free: 12.51 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6813, allocations: 3.688 kB / 0.5887 GB, free: 12.51 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.6814, allocations: 2.531 kB / 0.5887 GB, free: 12.51 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6814, allocations: 1.172 kB / 0.5887 GB, free: 12.51 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.6818, allocations: 396.3 kB / 0.5891 GB, free: 12.24 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6818, allocations: 1.062 kB / 0.5891 GB, free: 12.24 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.6819, allocations: 16.27 kB / 0.5891 GB, free: 12.24 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.6821, allocations: 83.27 kB / 0.5892 GB, free: 12.21 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.6822, allocations: 18.56 kB / 0.5892 GB, free: 12.2 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.6836, allocations: 1.755 MB / 0.5909 GB, free: 10.69 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6836, allocations: 0.8125 kB / 0.5909 GB, free: 10.69 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.6848, allocations: 0.7218 MB / 0.5916 GB, free: 10.31 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.6848, allocations: 105.8 kB / 0.5917 GB, free: 10.2 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.6849, allocations: 21.2 kB / 0.5917 GB, free: 10.18 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.6852, allocations: 54.47 kB / 0.5918 GB, free: 10.18 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.6853, allocations: 50.47 kB / 0.5918 GB, free: 10.16 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.6853, allocations: 16.27 kB / 0.5919 GB, free: 10.16 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001532/0.6855, allocations: 172.9 kB / 0.592 GB, free: 10.05 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6855, allocations: 0 / 0.592 GB, free: 10.05 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004699/0.686, allocations: 142.2 kB / 0.5922 GB, free: 10.02 MB / 446.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: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B1.open,B1.triggered,B1.G,B1.timeClose,B2.open,B2.triggered,B2.G,B2.timeClose,B3.open,B3.triggered,B3.G,B3.timeClose) * Number of discrete states: 15 (B1.timeClose,B1.triggered,$whenCondition2,$whenCondition1,B2.timeClose,B2.triggered,$whenCondition4,$whenCondition3,B3.timeClose,B3.triggered,$whenCondition6,$whenCondition5,B3.open,B2.open,B1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/0.6875, allocations: 1.307 MB / 0.5934 GB, free: 9.094 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.6885, allocations: 0.6418 MB / 0.5941 GB, free: 8.676 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6885, allocations: 0.6875 kB / 0.5941 GB, free: 8.676 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.6891, allocations: 0.5425 MB / 0.5946 GB, free: 8.258 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.6895, allocations: 56.98 kB / 0.5946 GB, free: 8.238 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.6924, allocations: 1.862 MB / 0.5965 GB, free: 7.188 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6927, allocations: 0.7871 MB / 0.5972 GB, free: 6.488 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.6928, allocations: 30.38 kB / 0.5973 GB, free: 6.477 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.693, allocations: 103.6 kB / 0.5974 GB, free: 6.398 MB / 446.3 MB Notification: Performance of SimCode: time 1.062e-06/0.693, allocations: 1.281 kB / 0.5974 GB, free: 6.398 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.7155, allocations: 7.201 MB / 0.6044 GB, free: 4.898 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.7157, allocations: 299.3 kB / 0.6047 GB, free: 4.543 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.684, allocations: 2.922 kB / 0.6047 GB, free: 4.543 MB / 446.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat does not exist to compare? outputFormat=mat