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/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 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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009873/0.0009872, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003172, allocations: 7.938 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00312/0.162, allocations: 2.794 MB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1633, allocations: 0.8029 MB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1635, allocations: 11.94 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1636, allocations: 39.62 kB / 485.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1639, allocations: 162.7 kB / 485.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1641, allocations: 75.92 kB / 485.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.1646, allocations: 0.5519 MB / 486.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.1649, allocations: 140.6 kB / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1651, allocations: 183.3 kB / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.1653, allocations: 215 kB / 486.6 MB, free: 268 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1654, allocations: 24 kB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.1655, allocations: 24 kB / 486.6 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.1655, allocations: 75.69 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.73e-05/0.1657, allocations: 121.5 kB / 486.8 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.166, allocations: 398.8 kB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.166, allocations: 0 / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1661, allocations: 4 kB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1661, allocations: 0 / 487.2 MB, free: 15.62 MB / 366.1 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.0009374/0.167, allocations: 0.6859 MB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1671, allocations: 8.031 kB / 487.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.1672, allocations: 90.45 kB / 488 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.1673, allocations: 51.44 kB / 488.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1676, allocations: 317.2 kB / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.1677, allocations: 33 kB / 488.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.1678, allocations: 55.91 kB / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.1685, allocations: 430.5 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.1685, allocations: 7.906 kB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1686, allocations: 24 kB / 488.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1686, allocations: 12 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.1691, allocations: 316.4 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.1708, allocations: 1.15 MB / 490.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.1715, allocations: 481.2 kB / 490.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1718, allocations: 215 kB / 491.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1718, allocations: 12.39 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1719, allocations: 42.94 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.1719, allocations: 0 / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.002854/0.1747, allocations: 2.124 MB / 493.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.1748, allocations: 89.67 kB / 493.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1751, allocations: 254.9 kB / 493.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1751, allocations: 37.7 kB / 493.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1753, allocations: 213 kB / 493.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.1755, allocations: 272 kB / 494.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.1755, allocations: 16 kB / 494.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1757, allocations: 358.7 kB / 494.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.176, allocations: 153.9 kB / 494.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.1763, allocations: 272.9 kB / 494.9 MB, free: 7.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.1766, allocations: 203.3 kB / 495.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1766, allocations: 7.922 kB / 495.1 MB, free: 7.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008649/0.1775, allocations: 0.5554 MB / 495.6 MB, free: 6.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1776, allocations: 12.06 kB / 495.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1776, allocations: 3.938 kB / 495.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.1776, allocations: 8 kB / 495.7 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.1782, allocations: 179.7 kB / 495.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.1782, allocations: 8 kB / 495.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1785, allocations: 24.03 kB / 495.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1785, allocations: 27.98 kB / 495.9 MB, free: 6.465 MB / 366.1 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 () * Number of clocked 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.0002031/0.1787, allocations: 189.5 kB / 496.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.1788, allocations: 43.53 kB / 496.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1789, allocations: 59.64 kB / 496.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.179, allocations: 8 kB / 496.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.179, allocations: 0 / 496.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.179, allocations: 3.984 kB / 496.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.181, allocations: 1.438 MB / 497.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1811, allocations: 7.984 kB / 497.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.1817, allocations: 152.2 kB / 497.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.1817, allocations: 12 kB / 497.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.1817, allocations: 16 kB / 497.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.1817, allocations: 7.984 kB / 497.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.1818, allocations: 7.938 kB / 497.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.1829, allocations: 0.904 MB / 498.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.183, allocations: 124.5 kB / 498.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/0.1831, allocations: 20 kB / 498.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1834, allocations: 16 kB / 498.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.1834, allocations: 56.2 kB / 498.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.1835, allocations: 24.06 kB / 499 MB, free: 3.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.1837, allocations: 182 kB / 499.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1837, allocations: 4 kB / 499.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005199/0.1842, allocations: 140 kB / 499.3 MB, free: 2.887 MB / 366.1 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 () * Number of clocked 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.001701/0.1859, allocations: 1.473 MB / 0.489 GB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.1866, allocations: 443.6 kB / 0.4894 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1866, allocations: 0 / 0.4894 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.187, allocations: 231.1 kB / 0.4897 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.1878, allocations: 121.1 kB / 0.4898 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.1927, allocations: 3.473 MB / 0.4932 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.1932, allocations: 0.8488 MB / 0.494 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.1934, allocations: 56.66 kB / 0.4941 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.1937, allocations: 171.4 kB / 0.4942 GB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1937, allocations: 0 / 0.4942 GB, free: 11.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.2186, allocations: 9.031 MB / 0.503 GB, free: 3.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.2188, allocations: 206 kB / 0.5032 GB, free: 2.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.208, allocations: 0 / 0.5032 GB, free: 2.848 MB / 382.1 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