Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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) 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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2324, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001569/0.234, allocations: 0.5077 MB / 409.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.236, allocations: 1.434 MB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.2361, allocations: 0 / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2361, allocations: 0 / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.2362, allocations: 3.938 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.2368, allocations: 190.5 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.2368, allocations: 15.92 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.2369, allocations: 0 / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.2369, allocations: 11.94 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.237, allocations: 11.98 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.237, allocations: 0 / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.2373, allocations: 171.7 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2373, allocations: 7.984 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.2374, allocations: 7.938 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.2376, allocations: 122.7 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2376, allocations: 4 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2376, allocations: 0 / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2376, allocations: 0 / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003556/0.238, allocations: 347.3 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.238, allocations: 16.02 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.2381, allocations: 30.75 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2382, allocations: 4.938 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2383, allocations: 164.3 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.2383, allocations: 384 / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2384, allocations: 7.938 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.2385, allocations: 33.69 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2385, allocations: 0 / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2385, allocations: 4 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2385, allocations: 0 / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.2385, allocations: 4 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.239, allocations: 477 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.2391, allocations: 173.1 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.2391, allocations: 84.14 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2391, allocations: 75.28 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.2392, allocations: 109.8 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2392, allocations: 3.938 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.789e-05/0.2393, allocations: 29.7 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.2394, allocations: 160.3 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2395, allocations: 105.8 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2395, allocations: 25.7 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.2396, allocations: 88.08 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-06/0.2396, allocations: 4 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.2396, allocations: 21.73 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2398, allocations: 314.8 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.2398, allocations: 4 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2398, allocations: 8 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.2398, allocations: 8.859 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2398, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.2399, allocations: 45.58 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.24, allocations: 4 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.24, allocations: 0 / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.24, allocations: 0 / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.2401, allocations: 12.36 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2401, allocations: 3.938 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.2401, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2401, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.2402, allocations: 197 kB / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.2403, allocations: 101 kB / 413.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.2404, allocations: 112.5 kB / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-05/0.2405, allocations: 180.3 kB / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-05/0.2405, allocations: 176.3 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.247e-05/0.2406, allocations: 184.2 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2409, allocations: 409.2 kB / 414.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.2409, allocations: 108.9 kB / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.241, allocations: 101 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.241, allocations: 184.3 kB / 415.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.2411, allocations: 180.2 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-05/0.2412, allocations: 180.5 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.467e-05/0.2413, allocations: 188.2 kB / 415.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.2414, allocations: 311.7 kB / 416.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.2415, allocations: 178.1 kB / 416.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.2416, allocations: 192.2 kB / 416.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.2417, allocations: 104.9 kB / 416.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.2418, allocations: 176.3 kB / 416.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.2418, allocations: 112.9 kB / 416.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.2419, allocations: 91.27 kB / 417 MB, free: 8.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2419, allocations: 0 / 417 MB, free: 8.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.2422, allocations: 39.88 kB / 417 MB, free: 8.727 MB / 334.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000741/0.243, allocations: 0.8852 MB / 417.9 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.638e-05/0.243, allocations: 4 kB / 417.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.2431, allocations: 0 / 417.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.2431, allocations: 11.94 kB / 417.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2434, allocations: 458 kB / 418.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.2438, allocations: 201.9 kB / 418.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2441, allocations: 0.6729 MB / 419.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.2442, allocations: 11.98 kB / 419.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.2442, allocations: 7.438 kB / 419.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2442, allocations: 0 / 419.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.2663, allocations: 1.862 MB / 421.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.651, allocations: 13.94 kB / 421.1 MB, free: 4.648 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches