Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 196.6 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.391/1.391, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009301/0.00093, allocations: 92.03 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.982e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.4976, allocations: 89.37 MB / 0.5987 GB, free: 4.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4979, allocations: 67.22 kB / 0.5988 GB, free: 4.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02351/0.5214, allocations: 8.852 MB / 0.6074 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5215, allocations: 0 / 0.6074 GB, free: 13.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.5215, allocations: 8 kB / 0.6075 GB, free: 13.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008621/0.5224, allocations: 0.6318 MB / 0.6081 GB, free: 12.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5224, allocations: 11.97 kB / 0.6081 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.623e-05/0.5225, allocations: 87.64 kB / 0.6082 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.5226, allocations: 58.91 kB / 0.6082 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.5229, allocations: 299 kB / 0.6085 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.523, allocations: 35.31 kB / 0.6085 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.523, allocations: 57.09 kB / 0.6086 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.5236, allocations: 419 kB / 0.609 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.5237, allocations: 7.906 kB / 0.609 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.5237, allocations: 24.77 kB / 0.609 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.5237, allocations: 12 kB / 0.609 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.5242, allocations: 301.3 kB / 0.6093 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.5256, allocations: 1.163 MB / 0.6105 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.5263, allocations: 475.1 kB / 0.6109 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.5265, allocations: 202.8 kB / 0.6111 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.5266, allocations: 8.656 kB / 0.6111 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.5266, allocations: 52.97 kB / 0.6112 GB, free: 9.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.195e-06/0.5266, allocations: 0 / 0.6112 GB, free: 9.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002357/0.529, allocations: 1.992 MB / 0.6131 GB, free: 7.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.529, allocations: 89.61 kB / 0.6132 GB, free: 7.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5292, allocations: 221.3 kB / 0.6134 GB, free: 7.703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.5293, allocations: 36.39 kB / 0.6134 GB, free: 7.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.5294, allocations: 205.8 kB / 0.6136 GB, free: 7.504 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.5295, allocations: 271.7 kB / 0.6139 GB, free: 7.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.5295, allocations: 15.31 kB / 0.6139 GB, free: 7.266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5297, allocations: 364.7 kB / 0.6143 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.5299, allocations: 143.5 kB / 0.6144 GB, free: 6.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.5302, allocations: 262.7 kB / 0.6146 GB, free: 6.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.5305, allocations: 195.3 kB / 0.6148 GB, free: 6.469 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5305, allocations: 0 / 0.6148 GB, free: 6.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007042/0.5312, allocations: 0.552 MB / 0.6154 GB, free: 6.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5313, allocations: 8 kB / 0.6154 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5313, allocations: 7.953 kB / 0.6154 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.5313, allocations: 7.984 kB / 0.6154 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.5318, allocations: 183.5 kB / 0.6156 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.5319, allocations: 8 kB / 0.6156 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.5321, allocations: 29.45 kB / 0.6156 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.5322, allocations: 23.56 kB / 0.6156 GB, free: 5.805 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001062/0.5323, allocations: 141.4 kB / 0.6158 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.5324, allocations: 51.38 kB / 0.6158 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.5325, allocations: 58.2 kB / 0.6159 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5325, allocations: 7.953 kB / 0.6159 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5325, allocations: 4 kB / 0.6159 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5325, allocations: 3.984 kB / 0.6159 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.5343, allocations: 1.437 MB / 0.6173 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5343, allocations: 4 kB / 0.6173 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.535, allocations: 162.7 kB / 0.6174 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.535, allocations: 11.95 kB / 0.6175 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.535, allocations: 18.69 kB / 0.6175 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.535, allocations: 4 kB / 0.6175 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.5351, allocations: 7.938 kB / 0.6175 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.5362, allocations: 1.032 MB / 0.6185 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5364, allocations: 116.6 kB / 0.6186 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.5364, allocations: 21.2 kB / 0.6186 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.5367, allocations: 15.62 kB / 0.6186 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.5368, allocations: 51.19 kB / 0.6187 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.5368, allocations: 19.69 kB / 0.6187 GB, free: 2.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.537, allocations: 178.7 kB / 0.6189 GB, free: 2.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.537, allocations: 0 / 0.6189 GB, free: 2.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.5375, allocations: 145.6 kB / 0.619 GB, free: 2.688 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.001395/0.5389, allocations: 2.432 MB / 0.6214 GB, free: 368 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.5396, allocations: 442.8 kB / 0.6218 GB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5396, allocations: 0 / 0.6218 GB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.5399, allocations: 228.4 kB / 0.622 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.5405, allocations: 103.6 kB / 0.6221 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.543, allocations: 1.67 MB / 0.6238 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5434, allocations: 0.8566 MB / 0.6246 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.5436, allocations: 60.66 kB / 0.6247 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5438, allocations: 175.1 kB / 0.6248 GB, free: 13.16 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5438, allocations: 0 / 0.6248 GB, free: 13.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.5669, allocations: 9.064 MB / 0.6337 GB, free: 4.328 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.5672, allocations: 172.7 kB / 0.6338 GB, free: 4.102 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.617, allocations: 0 / 0.6338 GB, free: 4.102 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat