Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.353/1.353, allocations: 227.6 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.91 kB / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2389, allocations: 50.55 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003489/0.2424, allocations: 1.859 MB / 412.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2444, allocations: 1.177 MB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.2445, allocations: 4 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.2451, allocations: 175.5 kB / 413.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.2455, allocations: 159.3 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.2458, allocations: 138.7 kB / 413.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.2461, allocations: 223.4 kB / 413.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.2462, allocations: 13.56 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2463, allocations: 91.62 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.2465, allocations: 83.61 kB / 414.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2465, allocations: 12 kB / 414.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2466, allocations: 63.89 kB / 414.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.2467, allocations: 43.84 kB / 414.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.2468, allocations: 75.53 kB / 414.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.2471, allocations: 227.1 kB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2471, allocations: 3.938 kB / 414.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2471, allocations: 4 kB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2471, allocations: 3.984 kB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000881/0.248, allocations: 0.531 MB / 415.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.248, allocations: 8.031 kB / 415.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.2481, allocations: 24.8 kB / 415.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2484, allocations: 263 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2485, allocations: 4.375 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.2485, allocations: 16.12 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.2487, allocations: 117.9 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2487, allocations: 0 / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2487, allocations: 0 / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2487, allocations: 0 / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.2489, allocations: 59.83 kB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.2496, allocations: 0.6182 MB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2499, allocations: 115.9 kB / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.25, allocations: 46.56 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.25, allocations: 4 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.2502, allocations: 121.9 kB / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.2502, allocations: 0 / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004463/0.2507, allocations: 181.4 kB / 416.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.2508, allocations: 128.5 kB / 416.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.2511, allocations: 297.1 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2511, allocations: 33.7 kB / 417.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.2512, allocations: 128.3 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2512, allocations: 35.8 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.2513, allocations: 33.72 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2515, allocations: 338.7 kB / 417.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.2516, allocations: 27.98 kB / 417.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.2517, allocations: 93.08 kB / 417.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2519, allocations: 92.22 kB / 417.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2519, allocations: 0 / 417.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002792/0.2522, allocations: 145.4 kB / 417.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2522, allocations: 4 kB / 417.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2522, allocations: 4 kB / 417.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2522, allocations: 0 / 417.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.2523, allocations: 20.61 kB / 418 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2523, allocations: 4 kB / 418 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.2524, allocations: 19.86 kB / 418 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2524, allocations: 4 kB / 418 MB, free: 9.262 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001451/0.2526, allocations: 158.7 kB / 418.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.2526, allocations: 23.86 kB / 418.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.2527, allocations: 25.7 kB / 418.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2527, allocations: 0 / 418.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2527, allocations: 4 kB / 418.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2527, allocations: 3.938 kB / 418.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.253, allocations: 241.5 kB / 418.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.253, allocations: 0 / 418.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.253, allocations: 8 kB / 418.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.253, allocations: 4 kB / 418.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.253, allocations: 7.938 kB / 418.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.253, allocations: 0 / 418.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.253, allocations: 0 / 418.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.2533, allocations: 186.5 kB / 418.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.2534, allocations: 93.02 kB / 418.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2534, allocations: 11.94 kB / 418.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2535, allocations: 7.984 kB / 418.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.2536, allocations: 19.92 kB / 418.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2536, allocations: 7.984 kB / 418.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2538, allocations: 220.4 kB / 419 MB, free: 8.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2538, allocations: 0 / 419 MB, free: 8.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.2541, allocations: 35.94 kB / 419 MB, free: 8.121 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00144/0.2555, allocations: 425.6 kB / 419.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.2558, allocations: 83.91 kB / 419.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2558, allocations: 4 kB / 419.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2559, allocations: 47.91 kB / 419.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2563, allocations: 51.59 kB / 419.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.2569, allocations: 360.8 kB / 420 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.2573, allocations: 0.7319 MB / 420.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.2574, allocations: 29.52 kB / 420.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.2575, allocations: 19.44 kB / 420.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2575, allocations: 0 / 420.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Templates: time 0.006739/0.2642, allocations: 2.801 MB / 423.6 MB, free: 3.699 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches