Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 90.12 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.933e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09605, allocations: 50.42 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2812/0.3773, allocations: 76.52 MB / 470.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.3775, allocations: 59.97 kB / 470.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003722/0.3813, allocations: 1.34 MB / 472.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3813, allocations: 0 / 472.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.3813, allocations: 4 kB / 472.3 MB, free: 9.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004379/0.3818, allocations: 383.1 kB / 472.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3818, allocations: 8.031 kB / 472.6 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.3819, allocations: 34.56 kB / 472.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.3819, allocations: 7.953 kB / 472.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.382, allocations: 171 kB / 472.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3821, allocations: 0 / 472.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3821, allocations: 4 kB / 472.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3822, allocations: 73.55 kB / 472.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3822, allocations: 0 / 472.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3823, allocations: 8 kB / 472.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3823, allocations: 3.953 kB / 472.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.3824, allocations: 28 kB / 473 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3827, allocations: 308.7 kB / 473.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3829, allocations: 54.56 kB / 473.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.3829, allocations: 24.94 kB / 473.3 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.383, allocations: 4 kB / 473.4 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.383, allocations: 30.56 kB / 473.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.383, allocations: 0 / 473.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001848/0.3832, allocations: 68.97 kB / 473.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3832, allocations: 55.41 kB / 473.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3834, allocations: 101.7 kB / 473.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3834, allocations: 25.7 kB / 473.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3834, allocations: 96.03 kB / 473.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3835, allocations: 15.75 kB / 473.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.3835, allocations: 0 / 473.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3836, allocations: 326.8 kB / 474.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.3836, allocations: 12 kB / 474.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.3837, allocations: 12 kB / 474.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.3837, allocations: 20 kB / 474.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3837, allocations: 0 / 474.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/0.3838, allocations: 73.48 kB / 474.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3839, allocations: 8 kB / 474.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3839, allocations: 0 / 474.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3839, allocations: 0 / 474.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3841, allocations: 23.97 kB / 474.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3841, allocations: 384 / 474.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.3842, allocations: 19.98 kB / 474.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.3842, allocations: 4 kB / 474.2 MB, free: 7.391 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.739e-05/0.3843, allocations: 105 kB / 474.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.3843, allocations: 11.89 kB / 474.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.3845, allocations: 85.69 kB / 474.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3845, allocations: 4 kB / 474.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3845, allocations: 4 kB / 474.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3845, allocations: 0 / 474.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3847, allocations: 185.5 kB / 474.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3847, allocations: 4 kB / 474.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3848, allocations: 23.98 kB / 474.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3848, allocations: 0 / 474.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3848, allocations: 8.453 kB / 474.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3849, allocations: 0 / 474.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3849, allocations: 7.984 kB / 474.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.385, allocations: 171.5 kB / 474.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.3851, allocations: 81.02 kB / 474.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3851, allocations: 8.234 kB / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3852, allocations: 23.94 kB / 474.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3853, allocations: 11.98 kB / 474.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3853, allocations: 0 / 474.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.981e-05/0.3853, allocations: 87.28 kB / 475 MB, free: 6.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3853, allocations: 0 / 475 MB, free: 6.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.3856, allocations: 19.94 kB / 475 MB, free: 6.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0004489/0.386, allocations: 0.713 MB / 475.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3861, allocations: 43.94 kB / 475.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3862, allocations: 0 / 475.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.3862, allocations: 35.91 kB / 475.8 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.3864, allocations: 14.38 kB / 475.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.3868, allocations: 123.1 kB / 476 MB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.387, allocations: 0.6965 MB / 476.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.3871, allocations: 4.266 kB / 476.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.3871, allocations: 19.44 kB / 476.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3871, allocations: 0 / 476.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.4008, allocations: 1.734 MB / 478.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.4011, allocations: 154.1 kB / 478.6 MB, free: 2.898 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.844, allocations: 0 / 478.6 MB, free: 2.898 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat