Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005304/0.005304, allocations: 1.401 MB / 16.66 MB, free: 4.641 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.499e-05/1.508e-05, allocations: 4 kB / 23.71 MB, free: 3.488 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004062/0.0004348, allocations: 359.7 kB / 24.06 MB, free: 3.164 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001297/0.00174, allocations: 1.637 MB / 25.69 MB, free: 1.531 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003244, allocations: 1.757 MB / 27.45 MB, free: 4.234 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.003483, allocations: 7.938 kB / 27.46 MB, free: 4.227 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.003797, allocations: 135.8 kB / 27.59 MB, free: 4.094 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.0008606/0.004665, allocations: 344.8 kB / 27.93 MB, free: 3.758 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.004865, allocations: 79.92 kB / 28.01 MB, free: 3.68 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.005533, allocations: 0.7394 MB / 28.75 MB, free: 2.941 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.006003, allocations: 403 kB / 29.14 MB, free: 2.527 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.006284, allocations: 294.2 kB / 29.43 MB, free: 2.238 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.006567, allocations: 301.8 kB / 29.72 MB, free: 1.941 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.006637, allocations: 28 kB / 29.75 MB, free: 1.914 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.006983, allocations: 212.5 kB / 29.96 MB, free: 1.707 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.00716, allocations: 167.2 kB / 30.12 MB, free: 1.543 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.007458, allocations: 351.2 kB / 30.46 MB, free: 1.191 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008488/0.008313, allocations: 0.9112 MB / 31.37 MB, free: 284 kB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.008329, allocations: 0 / 31.37 MB, free: 284 kB / 18.57 MB Notification: Performance of FrontEnd: time 1.613e-06/0.008339, allocations: 7.938 kB / 31.38 MB, free: 276 kB / 18.57 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.008353, allocations: 0 / 31.38 MB, free: 276 kB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.005765/0.01412, allocations: 0.959 MB / 32.34 MB, free: 7.004 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.01416, allocations: 9.469 kB / 32.35 MB, free: 7.004 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.0143, allocations: 103.5 kB / 32.45 MB, free: 6.957 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.01479, allocations: 495.6 kB / 32.94 MB, free: 6.691 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.01485, allocations: 79.47 kB / 33.01 MB, free: 6.688 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.01497, allocations: 110.4 kB / 33.12 MB, free: 6.684 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.01664, allocations: 1.483 MB / 34.6 MB, free: 5.859 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01667, allocations: 4.188 kB / 34.61 MB, free: 5.855 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.188e-05/0.01675, allocations: 51.97 kB / 34.66 MB, free: 5.809 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.01687, allocations: 97.83 kB / 34.75 MB, free: 5.719 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.01809, allocations: 1.064 MB / 35.82 MB, free: 4.656 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.02067, allocations: 2.885 MB / 38.7 MB, free: 1.664 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.02148, allocations: 0.761 MB / 39.46 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.02195, allocations: 454.2 kB / 39.91 MB, free: 416 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005981/0.02794, allocations: 0.8567 MB / 40.76 MB, free: 5.535 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.02799, allocations: 38.61 kB / 40.8 MB, free: 5.496 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.575e-06/0.028, allocations: 0 / 40.8 MB, free: 5.496 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.002978/0.03098, allocations: 1.676 MB / 42.48 MB, free: 5.254 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.03108, allocations: 242.3 kB / 42.71 MB, free: 5.004 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.03139, allocations: 353.5 kB / 43.06 MB, free: 4.898 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.03144, allocations: 40.95 kB / 43.1 MB, free: 4.867 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.03162, allocations: 392.9 kB / 43.48 MB, free: 4.637 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.03172, allocations: 178.4 kB / 43.66 MB, free: 4.523 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.03176, allocations: 16.16 kB / 43.67 MB, free: 4.523 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.03182, allocations: 353.2 kB / 44.02 MB, free: 4.199 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.03228, allocations: 373 kB / 44.38 MB, free: 3.898 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.03279, allocations: 0.5341 MB / 44.92 MB, free: 3.312 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/0.03367, allocations: 0.9667 MB / 45.88 MB, free: 2.266 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.03368, allocations: 0 / 45.88 MB, free: 2.266 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00147/0.03515, allocations: 1.297 MB / 47.18 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.03523, allocations: 121.1 kB / 47.3 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.03525, allocations: 5.406 kB / 47.3 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.03662, allocations: 407.7 kB / 47.7 MB, free: 412 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.03688, allocations: 89.33 kB / 47.79 MB, free: 324 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/0.04466, allocations: 0.8917 MB / 48.68 MB, free: 4.871 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.04509, allocations: 108.2 kB / 48.79 MB, free: 4.871 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.04517, allocations: 41.09 kB / 48.83 MB, free: 4.871 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.04563, allocations: 461 kB / 49.28 MB, free: 4.66 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.04571, allocations: 40.44 kB / 49.32 MB, free: 4.66 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.04735, allocations: 1.263 MB / 50.58 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.04739, allocations: 18.2 kB / 50.6 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.04741, allocations: 0 / 50.6 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.04742, allocations: 2.953 kB / 50.6 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.04956, allocations: 1.997 MB / 52.6 MB, free: 2.91 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.04958, allocations: 4.656 kB / 52.6 MB, free: 2.906 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.04978, allocations: 51.53 kB / 52.65 MB, free: 2.863 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.05069, allocations: 396.2 kB / 53.04 MB, free: 2.484 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.05075, allocations: 23.98 kB / 53.06 MB, free: 2.461 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006712/0.05143, allocations: 0.9318 MB / 53.99 MB, free: 1.516 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.05144, allocations: 0 / 53.99 MB, free: 1.516 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.05363, allocations: 1.714 MB / 55.71 MB, free: 5.984 MB / 24.77 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.05377, allocations: 121 kB / 55.83 MB, free: 5.871 MB / 24.77 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.05388, allocations: 39.62 kB / 55.87 MB, free: 5.836 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.05415, allocations: 55.95 kB / 55.92 MB, free: 5.781 MB / 24.77 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.05447, allocations: 140.3 kB / 56.06 MB, free: 5.645 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.05455, allocations: 31.98 kB / 56.09 MB, free: 5.613 MB / 24.77 MB Notification: Performance of sorting global known variables: time 0.0002118/0.05476, allocations: 209.9 kB / 56.29 MB, free: 5.406 MB / 24.77 MB Notification: Performance of sort global known variables: time 1.3e-07/0.05477, allocations: 0 / 56.29 MB, free: 5.406 MB / 24.77 MB Notification: Performance of remove unused functions: time 0.0007259/0.0555, allocations: 280 kB / 56.57 MB, free: 5.148 MB / 24.77 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/0.05592, allocations: 223.7 kB / 56.79 MB, free: 4.938 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.05789, allocations: 1.176 MB / 57.96 MB, free: 3.73 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.05792, allocations: 0 / 57.96 MB, free: 3.73 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.0589, allocations: 0.7023 MB / 58.66 MB, free: 2.996 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.05941, allocations: 69.75 kB / 58.73 MB, free: 2.922 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.06262, allocations: 2.063 MB / 60.8 MB, free: 0.8398 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007362/0.07, allocations: 1.096 MB / 61.89 MB, free: 9.988 MB / 24.77 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.07034, allocations: 144.8 kB / 62.03 MB, free: 9.984 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.07043, allocations: 49.84 kB / 62.08 MB, free: 9.984 MB / 24.77 MB Notification: Performance of SimCode: time 5.61e-07/0.07044, allocations: 0 / 62.08 MB, free: 9.984 MB / 24.77 MB Notification: Performance of Templates: time 0.02146/0.09191, allocations: 9.653 MB / 71.73 MB, free: 9.883 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)