Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00578/0.00578, allocations: 1.404 MB / 16.66 MB, free: 4.688 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.576e-05, allocations: 0 / 23.71 MB, free: 3.504 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005561/0.0005898, allocations: 359.3 kB / 24.06 MB, free: 3.184 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001167/0.001767, allocations: 1.424 MB / 25.48 MB, free: 1.762 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.003322, allocations: 1.576 MB / 27.06 MB, free: 20 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.003734, allocations: 11.28 kB / 27.07 MB, free: 12 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.004058, allocations: 111.3 kB / 27.18 MB, free: 4.543 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.005103, allocations: 314.9 kB / 27.48 MB, free: 4.234 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.005314, allocations: 59.94 kB / 27.54 MB, free: 4.176 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.0061, allocations: 0.584 MB / 28.13 MB, free: 3.594 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004291/0.006539, allocations: 297.2 kB / 28.42 MB, free: 3.289 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.006927, allocations: 222.6 kB / 28.63 MB, free: 3.07 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.007341, allocations: 246.2 kB / 28.87 MB, free: 2.828 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.007458, allocations: 24 kB / 28.9 MB, free: 2.805 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.007861, allocations: 216.5 kB / 29.11 MB, free: 2.594 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.008021, allocations: 151.3 kB / 29.26 MB, free: 2.445 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.008287, allocations: 287.7 kB / 29.54 MB, free: 2.156 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009409/0.009234, allocations: 0.7827 MB / 30.32 MB, free: 1.367 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.00925, allocations: 0 / 30.32 MB, free: 1.367 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.635e-06/0.009261, allocations: 4 kB / 30.32 MB, free: 1.363 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.009291, allocations: 0 / 30.32 MB, free: 1.363 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001197/0.01049, allocations: 0.8419 MB / 31.17 MB, free: 472 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01054, allocations: 12.31 kB / 31.18 MB, free: 460 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.01071, allocations: 84.03 kB / 31.26 MB, free: 376 kB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/0.01732, allocations: 430.7 kB / 31.68 MB, free: 7.449 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/0.01745, allocations: 67.55 kB / 31.75 MB, free: 7.445 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.01766, allocations: 87.23 kB / 31.83 MB, free: 7.445 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.01959, allocations: 1.223 MB / 33.06 MB, free: 7.043 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.01962, allocations: 1.688 kB / 33.06 MB, free: 7.043 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.01969, allocations: 37.67 kB / 33.09 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.0198, allocations: 76.59 kB / 33.17 MB, free: 6.992 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.02095, allocations: 0.8721 MB / 34.04 MB, free: 6.262 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.02351, allocations: 2.43 MB / 36.47 MB, free: 3.758 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.0242, allocations: 0.5752 MB / 37.05 MB, free: 3.152 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.0246, allocations: 369.4 kB / 37.41 MB, free: 2.789 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.02511, allocations: 1.03 MB / 38.44 MB, free: 1.539 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.02514, allocations: 34.89 kB / 38.47 MB, free: 1.496 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 3.146e-06/0.02515, allocations: 7.984 kB / 38.48 MB, free: 1.488 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.002682/0.02784, allocations: 1.435 MB / 39.91 MB, free: 24 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007436/0.03529, allocations: 210.2 kB / 40.12 MB, free: 6.691 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.0357, allocations: 313.4 kB / 40.42 MB, free: 6.59 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.03583, allocations: 38.23 kB / 40.46 MB, free: 6.559 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.03607, allocations: 333 kB / 40.79 MB, free: 6.387 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.03624, allocations: 144.4 kB / 40.93 MB, free: 6.305 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.03628, allocations: 11.5 kB / 40.94 MB, free: 6.305 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.03635, allocations: 346.1 kB / 41.28 MB, free: 5.992 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.03685, allocations: 318.4 kB / 41.59 MB, free: 5.969 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.03732, allocations: 451.4 kB / 42.03 MB, free: 5.73 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/0.03814, allocations: 0.7751 MB / 42.8 MB, free: 5.289 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.03815, allocations: 3.812 kB / 42.81 MB, free: 5.289 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001361/0.03952, allocations: 1.071 MB / 43.88 MB, free: 4.594 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.03958, allocations: 87.38 kB / 43.96 MB, free: 4.496 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.0396, allocations: 4 kB / 43.97 MB, free: 4.492 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.04126, allocations: 440.4 kB / 44.4 MB, free: 4.059 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.04148, allocations: 71.91 kB / 44.47 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005136/0.042, allocations: 0.7747 MB / 45.24 MB, free: 3.191 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.04228, allocations: 106.6 kB / 45.35 MB, free: 3.09 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.04235, allocations: 31.98 kB / 45.38 MB, free: 3.059 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P2'.outTransition[1].arcType,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T1'.activation.fed[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003717/0.04272, allocations: 386 kB / 45.76 MB, free: 2.664 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.0428, allocations: 37.27 kB / 45.79 MB, free: 2.629 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.04427, allocations: 1.04 MB / 46.83 MB, free: 1.574 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.0443, allocations: 15.98 kB / 46.85 MB, free: 1.559 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.04432, allocations: 4 kB / 46.85 MB, free: 1.555 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.04433, allocations: 4.688 kB / 46.86 MB, free: 1.551 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/0.05421, allocations: 1.663 MB / 48.52 MB, free: 5.691 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.05425, allocations: 4.312 kB / 48.52 MB, free: 5.691 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.05443, allocations: 35.56 kB / 48.56 MB, free: 5.691 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009312/0.05537, allocations: 352.2 kB / 48.9 MB, free: 5.684 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.05544, allocations: 15.05 kB / 48.92 MB, free: 5.684 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005401/0.05599, allocations: 0.8014 MB / 49.72 MB, free: 5.168 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.056, allocations: 2.844 kB / 49.72 MB, free: 5.168 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.05768, allocations: 1.43 MB / 51.15 MB, free: 4.688 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.05775, allocations: 111.1 kB / 51.26 MB, free: 4.594 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.05783, allocations: 23.17 kB / 51.28 MB, free: 4.586 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.05804, allocations: 50.97 kB / 51.33 MB, free: 4.578 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.05827, allocations: 117.5 kB / 51.45 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.05833, allocations: 26.7 kB / 51.47 MB, free: 4.492 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000159/0.05849, allocations: 196.3 kB / 51.67 MB, free: 4.324 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.7e-07/0.0585, allocations: 0 / 51.67 MB, free: 4.324 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006151/0.05912, allocations: 236.7 kB / 51.9 MB, free: 4.137 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('P1'.fireOut[1],'P1'.emptying,'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],'P2'.fireIn[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P1'.fireOut[1],'P2'.fireIn[1],'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active,'P2'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'P3'.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003383/0.05947, allocations: 210.4 kB / 52.1 MB, free: 3.949 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.06069, allocations: 0.9675 MB / 53.07 MB, free: 2.977 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.06071, allocations: 0 / 53.07 MB, free: 2.977 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.06127, allocations: 0.5664 MB / 53.64 MB, free: 2.395 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.06163, allocations: 56.67 kB / 53.69 MB, free: 2.34 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.06969, allocations: 1.688 MB / 55.38 MB, free: 5.289 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.07027, allocations: 1.022 MB / 56.4 MB, free: 10.98 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.07055, allocations: 121.7 kB / 56.52 MB, free: 10.97 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.07064, allocations: 47.16 kB / 56.57 MB, free: 10.97 MB / 24.96 MB Notification: Performance of SimCode: time 1.082e-06/0.07065, allocations: 2.062 kB / 56.57 MB, free: 10.97 MB / 24.96 MB Notification: Performance of Templates: time 0.01177/0.08242, allocations: 8.112 MB / 64.68 MB, free: 4.617 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)