Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009766/0.0009765, allocations: 95 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.554e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 63.24 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4713, allocations: 88.44 MB / 0.5978 GB, free: 5.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.4715, allocations: 65.25 kB / 0.5979 GB, free: 5.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009011/0.4805, allocations: 3.001 MB / 0.6008 GB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4806, allocations: 0 / 0.6008 GB, free: 2.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4806, allocations: 0 / 0.6008 GB, free: 2.797 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007133/0.4813, allocations: 427 kB / 0.6012 GB, free: 2.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.4814, allocations: 19.91 kB / 0.6012 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.393e-05/0.4814, allocations: 38.31 kB / 0.6013 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.4815, allocations: 19.89 kB / 0.6013 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.4819, allocations: 218.7 kB / 0.6015 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.482, allocations: 4 kB / 0.6015 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.482, allocations: 7.438 kB / 0.6015 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4822, allocations: 73.2 kB / 0.6016 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4822, allocations: 0 / 0.6016 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.4822, allocations: 7.672 kB / 0.6016 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4822, allocations: 4 kB / 0.6016 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.4823, allocations: 38 kB / 0.6016 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.483, allocations: 375.1 kB / 0.602 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.4831, allocations: 57.38 kB / 0.602 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.4832, allocations: 20.77 kB / 0.6021 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.4832, allocations: 0 / 0.6021 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.4834, allocations: 82 kB / 0.6021 GB, free: 1.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4834, allocations: 0 / 0.6021 GB, free: 1.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001893/0.4836, allocations: 76.47 kB / 0.6022 GB, free: 1.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4836, allocations: 54.84 kB / 0.6023 GB, free: 1.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4837, allocations: 134.9 kB / 0.6024 GB, free: 1.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4838, allocations: 29.39 kB / 0.6024 GB, free: 1.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.4839, allocations: 107.7 kB / 0.6025 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.4839, allocations: 11.8 kB / 0.6025 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4839, allocations: 3 kB / 0.6025 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.484, allocations: 322.8 kB / 0.6028 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.4841, allocations: 23 kB / 0.6029 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.4841, allocations: 36.58 kB / 0.6029 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.4842, allocations: 18.69 kB / 0.6029 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4842, allocations: 4 kB / 0.6029 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001298/0.4843, allocations: 80.22 kB / 0.603 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4844, allocations: 11.95 kB / 0.603 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4844, allocations: 0 / 0.603 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4844, allocations: 0 / 0.603 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4845, allocations: 23.27 kB / 0.603 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4845, allocations: 8.562 kB / 0.603 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.394e-05/0.4846, allocations: 23.97 kB / 0.6031 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4846, allocations: 4 kB / 0.6031 GB, free: 456 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.625e-05/0.4847, allocations: 112.9 kB / 0.6032 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.4847, allocations: 15.89 kB / 0.6032 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.4848, allocations: 19.56 kB / 0.6032 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4848, allocations: 0 / 0.6032 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4848, allocations: 4 kB / 0.6032 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.4848, allocations: 0 / 0.6032 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.4851, allocations: 344.9 kB / 0.6035 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4851, allocations: 0 / 0.6035 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.4852, allocations: 27.88 kB / 0.6036 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4852, allocations: 0 / 0.6036 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4853, allocations: 4 kB / 0.6036 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4853, allocations: 160 / 0.6036 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4853, allocations: 0 / 0.6036 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.4855, allocations: 202.7 kB / 0.6038 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.4856, allocations: 81.3 kB / 0.6038 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4856, allocations: 15.92 kB / 0.6039 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4857, allocations: 28.03 kB / 0.6039 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.4858, allocations: 11.92 kB / 0.6039 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.4858, allocations: 4 kB / 0.6039 GB, free: 15.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.792e-05/0.4859, allocations: 113.3 kB / 0.604 GB, free: 15.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4859, allocations: 0 / 0.604 GB, free: 15.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.4861, allocations: 19.62 kB / 0.604 GB, free: 15.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004798/0.4866, allocations: 0.7331 MB / 0.6047 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.4867, allocations: 53.17 kB / 0.6048 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4868, allocations: 0 / 0.6048 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.4868, allocations: 27.5 kB / 0.6048 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.487, allocations: 23.94 kB / 0.6048 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.4875, allocations: 180.4 kB / 0.605 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4878, allocations: 0.7004 MB / 0.6057 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.4878, allocations: 8.562 kB / 0.6057 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.4879, allocations: 33.73 kB / 0.6057 GB, free: 13.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4879, allocations: 0 / 0.6057 GB, free: 13.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.5, allocations: 2.184 MB / 0.6079 GB, free: 11.61 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.5002, allocations: 148.6 kB / 0.608 GB, free: 11.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/1.929, allocations: 0 / 0.608 GB, free: 11.38 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat does not exist to compare? outputFormat=mat