Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",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.0009111/0.0009111, allocations: 97.78 kB / 16.94 MB, free: 5.539 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.001039/0.001039, allocations: 183.3 kB / 17.83 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004263, allocations: 12.94 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.089, allocations: 47.59 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001966/0.09101, allocations: 1.483 MB / 329.9 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.09227, allocations: 0.8668 MB / 330.8 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.09236, allocations: 4 kB / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.09296, allocations: 147.5 kB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.09319, allocations: 99.78 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.09358, allocations: 127.7 kB / 331.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.09377, allocations: 123.7 kB / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.09389, allocations: 21.53 kB / 331.3 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.09401, allocations: 71.75 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.09414, allocations: 75.67 kB / 331.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.09416, allocations: 4 kB / 331.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.09428, allocations: 35.92 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.09435, allocations: 43.84 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.09441, allocations: 45.64 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.09462, allocations: 163.9 kB / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.09463, allocations: 0 / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09464, allocations: 0 / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.09465, allocations: 0 / 331.7 MB, free: 0.6797 MB / 270.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.0007101/0.09536, allocations: 0.5117 MB / 332.2 MB, free: 116 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.09541, allocations: 12.03 kB / 332.2 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.09546, allocations: 30.56 kB / 332.3 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.0955, allocations: 19.81 kB / 332.3 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.09582, allocations: 253.7 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.09584, allocations: 4 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.09586, allocations: 8 kB / 332.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.09609, allocations: 125.9 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.09611, allocations: 0 / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.09613, allocations: 3.984 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.09614, allocations: 4 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.09628, allocations: 55.91 kB / 332.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.09698, allocations: 0.6065 MB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.09724, allocations: 135.8 kB / 333.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.09728, allocations: 4 kB / 333.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.09752, allocations: 122 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.09753, allocations: 4 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.000428/0.09797, allocations: 181.5 kB / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.09806, allocations: 132.5 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.09836, allocations: 285 kB / 334.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.09839, allocations: 33.7 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.09849, allocations: 120.4 kB / 334.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.09853, allocations: 31.77 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.09854, allocations: 4 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.09866, allocations: 334.8 kB / 334.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.09876, allocations: 31.92 kB / 334.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.09889, allocations: 78 kB / 334.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.451e-05/0.09898, allocations: 36.02 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.09899, allocations: 0 / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00024/0.09924, allocations: 145.3 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.09927, allocations: 7.984 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.09928, allocations: 4.094 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.0993, allocations: 4 kB / 335 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.09938, allocations: 12 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.0994, allocations: 3.938 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.09951, allocations: 23.89 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.09953, allocations: 7.953 kB / 335 MB, free: 13.02 MB / 286.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 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.09965, allocations: 149.6 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.0997, allocations: 19.81 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.09976, allocations: 29.7 kB / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.09977, allocations: 4 kB / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.09978, allocations: 0 / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.09979, allocations: 0 / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1, allocations: 249.4 kB / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1, allocations: 448 / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.1001, allocations: 7.938 kB / 335.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1001, allocations: 0 / 335.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1001, allocations: 11.98 kB / 335.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1001, allocations: 4 kB / 335.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1001, allocations: 4 kB / 335.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1004, allocations: 198 kB / 335.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1005, allocations: 104.8 kB / 335.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1006, allocations: 4 kB / 335.8 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.1007, allocations: 15.98 kB / 335.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.1007, allocations: 19.88 kB / 335.8 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1007, allocations: 7.938 kB / 335.9 MB, free: 12.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.101, allocations: 208.5 kB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.101, allocations: 0 / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1012, allocations: 39.98 kB / 336.1 MB, free: 11.85 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.1026, allocations: 1.191 MB / 337.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1029, allocations: 91.84 kB / 337.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1029, allocations: 3.938 kB / 337.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.103, allocations: 55.91 kB / 337.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1033, allocations: 40.66 kB / 337.5 MB, free: 10.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.1052, allocations: 1.714 MB / 339.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1055, allocations: 0.7361 MB / 339.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.199e-05/0.1056, allocations: 25.53 kB / 339.9 MB, free: 7.867 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.1057, allocations: 59.41 kB / 340 MB, free: 7.809 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1057, allocations: 0 / 340 MB, free: 7.809 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.1218, allocations: 4.458 MB / 344.5 MB, free: 3.34 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.1221, allocations: 210.5 kB / 344.7 MB, free: 3.102 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.804, allocations: 0 / 344.7 MB, free: 3.102 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat