Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008629/0.000863, allocations: 180.9 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05526/0.05526, allocations: 10.98 MB / 27.16 MB, free: 1.715 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 225.7 MB / 256.1 MB, free: 1.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 94.22 kB / 309.7 MB, free: 2.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002712, allocations: 8 kB / 373.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2037, allocations: 52.82 MB / 426 MB, free: 49.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.001584/0.2054, allocations: 1.5 MB / 427.5 MB, free: 49.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.2062, allocations: 0.9008 MB / 428.5 MB, free: 48.99 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.2063, allocations: 2.781 kB / 428.5 MB, free: 48.99 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.2063, allocations: 9.844 kB / 428.5 MB, free: 48.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2064, allocations: 21.42 kB / 428.5 MB, free: 48.97 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2068, allocations: 148.8 kB / 428.6 MB, free: 48.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.207, allocations: 197.1 kB / 428.8 MB, free: 48.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2071, allocations: 40.05 kB / 428.9 MB, free: 48.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.2072, allocations: 76.22 kB / 428.9 MB, free: 48.9 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.2073, allocations: 94.36 kB / 429 MB, free: 48.87 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.2073, allocations: 9.406 kB / 429 MB, free: 48.87 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.2075, allocations: 135.6 kB / 429.2 MB, free: 48.87 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.2075, allocations: 49.38 kB / 429.2 MB, free: 48.86 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.2076, allocations: 117.9 kB / 429.3 MB, free: 48.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.2079, allocations: 289.6 kB / 429.6 MB, free: 48.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2079, allocations: 0 / 429.6 MB, free: 48.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2079, allocations: 0 / 429.6 MB, free: 48.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2079, allocations: 0.6562 kB / 429.6 MB, free: 48.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005795/0.2085, allocations: 0.5093 MB / 430.1 MB, free: 48.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.2085, allocations: 9.875 kB / 430.1 MB, free: 48.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.2086, allocations: 30 kB / 430.2 MB, free: 48.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2088, allocations: 269.5 kB / 430.4 MB, free: 48.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2088, allocations: 9.938 kB / 430.4 MB, free: 48.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.2088, allocations: 18.72 kB / 430.5 MB, free: 48.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.2091, allocations: 180.7 kB / 430.6 MB, free: 47.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2091, allocations: 2 kB / 430.6 MB, free: 47.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.2091, allocations: 12.81 kB / 430.6 MB, free: 47.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2092, allocations: 0 / 430.6 MB, free: 47.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.2093, allocations: 66.81 kB / 430.7 MB, free: 47.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.21, allocations: 0.5271 MB / 431.2 MB, free: 47.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.2103, allocations: 142.9 kB / 431.4 MB, free: 47.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2104, allocations: 69.23 kB / 431.4 MB, free: 47.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2104, allocations: 3.062 kB / 431.4 MB, free: 47.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.2106, allocations: 140.6 kB / 431.6 MB, free: 47.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.2106, allocations: 1.375 kB / 431.6 MB, free: 47.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004292/0.2111, allocations: 271.5 kB / 431.9 MB, free: 47.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.2111, allocations: 166 kB / 432 MB, free: 47.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2113, allocations: 263.7 kB / 432.3 MB, free: 47.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2113, allocations: 37.23 kB / 432.3 MB, free: 47.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.2114, allocations: 152 kB / 432.5 MB, free: 47.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2114, allocations: 59.52 kB / 432.5 MB, free: 47.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.2115, allocations: 5.125 kB / 432.5 MB, free: 47.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.2115, allocations: 339.3 kB / 432.9 MB, free: 46.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2116, allocations: 54.39 kB / 432.9 MB, free: 46.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2118, allocations: 192.4 kB / 433.1 MB, free: 46.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.212, allocations: 243.6 kB / 433.3 MB, free: 46.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2121, allocations: 1.688 kB / 433.3 MB, free: 46.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003274/0.2124, allocations: 280.3 kB / 433.6 MB, free: 46.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2124, allocations: 7.484 kB / 433.6 MB, free: 46.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2124, allocations: 3.375 kB / 433.6 MB, free: 46.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2124, allocations: 7.797 kB / 433.6 MB, free: 46.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.2127, allocations: 61.91 kB / 433.7 MB, free: 46.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2127, allocations: 4 kB / 433.7 MB, free: 46.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2128, allocations: 30.55 kB / 433.7 MB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2129, allocations: 14.09 kB / 433.7 MB, free: 46.38 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.complexPoles_dig.y,complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,$PRE.complexPoles_dig.y_pre1,complexPoles_dig.y_pre1,$PRE.lLag_dig.y,lLag_dig.y,$PRE.fO_dig.y,fO_dig.y,$PRE.int_dig.y,int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.213, allocations: 151.5 kB / 433.9 MB, free: 46.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.213, allocations: 32.12 kB / 433.9 MB, free: 46.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.2131, allocations: 28.72 kB / 433.9 MB, free: 46.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2131, allocations: 3.312 kB / 433.9 MB, free: 46.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2131, allocations: 1.062 kB / 433.9 MB, free: 46.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2131, allocations: 5.828 kB / 433.9 MB, free: 46.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.2136, allocations: 0.55 MB / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2136, allocations: 0 / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2138, allocations: 39.09 kB / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2138, allocations: 4.984 kB / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2138, allocations: 5.25 kB / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2138, allocations: 1.375 kB / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2138, allocations: 0 / 434.5 MB, free: 45.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.2143, allocations: 401 kB / 434.9 MB, free: 45.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.2143, allocations: 97.53 kB / 435 MB, free: 45.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.2144, allocations: 17.09 kB / 435.1 MB, free: 45.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2145, allocations: 12.52 kB / 435.1 MB, free: 45.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2146, allocations: 15.36 kB / 435.1 MB, free: 45.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2146, allocations: 13.2 kB / 435.1 MB, free: 45.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.2147, allocations: 184.9 kB / 435.3 MB, free: 45.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2147, allocations: 1.281 kB / 435.3 MB, free: 45.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.215, allocations: 81.48 kB / 435.4 MB, free: 45.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.2152, allocations: 158.4 kB / 435.5 MB, free: 45.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.2155, allocations: 175.1 kB / 435.7 MB, free: 45.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2155, allocations: 5.562 kB / 435.7 MB, free: 45.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2156, allocations: 70.59 kB / 435.8 MB, free: 45.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2159, allocations: 49.61 kB / 435.8 MB, free: 45.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008832/0.2168, allocations: 0.5906 MB / 436.4 MB, free: 45.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.217, allocations: 0.7474 MB / 437.1 MB, free: 44.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.678e-05/0.2171, allocations: 36.06 kB / 437.2 MB, free: 44.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.2171, allocations: 23.31 kB / 437.2 MB, free: 44.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2171, allocations: 0 / 437.2 MB, free: 44.44 MB / 346.7 MB Notification: Performance of Templates: time 0.005375/0.2225, allocations: 2.864 MB / 440.1 MB, free: 44.29 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1)