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.001059/0.001059, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2543, allocations: 50.55 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001489/0.2558, allocations: 0.496 MB / 409.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2575, allocations: 1.438 MB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.2576, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.2576, allocations: 3.938 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.2576, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2582, allocations: 183 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.2583, allocations: 15.98 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.2583, allocations: 0 / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.2584, allocations: 11.88 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.2584, allocations: 15.97 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2585, allocations: 0 / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.2587, allocations: 167.8 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2587, allocations: 3.984 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.2588, allocations: 11.94 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.259, allocations: 119.7 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.259, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.259, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.259, allocations: 0 / 411.2 MB, free: 15.08 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.0003737/0.2594, allocations: 353.2 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2594, allocations: 12.03 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.2595, allocations: 30.75 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.2596, allocations: 4.938 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2597, allocations: 172.3 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2597, allocations: 8.359 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2598, allocations: 3.938 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.2599, allocations: 29.7 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2599, allocations: 0 / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2599, allocations: 7.984 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2599, allocations: 0 / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.2599, allocations: 3.938 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.2603, allocations: 484.9 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.2604, allocations: 169.1 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.2605, allocations: 84.14 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.2605, allocations: 75.28 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.2606, allocations: 117.7 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2606, allocations: 0 / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.955e-05/0.2606, allocations: 25.7 kB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.2607, allocations: 156.4 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.2608, allocations: 109.8 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2608, allocations: 25.7 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2609, allocations: 84.12 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2609, allocations: 4 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.261, allocations: 21.75 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.2611, allocations: 318.8 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.2611, allocations: 0 / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.2611, allocations: 7.984 kB / 413.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.2611, allocations: 12.8 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2611, allocations: 0 / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001058/0.2612, allocations: 41.61 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2613, allocations: 4 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2613, allocations: 4.125 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2613, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.2614, allocations: 4 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2614, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.2614, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.2614, allocations: 3.984 kB / 413.5 MB, free: 12.48 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 9.771e-05/0.2615, allocations: 193 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.2616, allocations: 104.9 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.2616, allocations: 112.5 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/0.2617, allocations: 180.3 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.524e-05/0.2618, allocations: 184.2 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-05/0.2618, allocations: 180.3 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.262, allocations: 409.1 kB / 414.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.2621, allocations: 109 kB / 415 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.2621, allocations: 105.2 kB / 415.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.128e-05/0.2622, allocations: 176.3 kB / 415.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.2622, allocations: 184.2 kB / 415.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.693e-05/0.2623, allocations: 184.4 kB / 415.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-05/0.2623, allocations: 180.3 kB / 415.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.2625, allocations: 311.7 kB / 416.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.2626, allocations: 186 kB / 416.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.2627, allocations: 192.2 kB / 416.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.2627, allocations: 104.9 kB / 416.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2628, allocations: 184.2 kB / 416.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.2628, allocations: 101 kB / 416.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.2629, allocations: 91.27 kB / 416.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2629, allocations: 0 / 416.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.2632, allocations: 39.94 kB / 417 MB, free: 8.816 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.0005702/0.2638, allocations: 0.8811 MB / 417.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.595e-05/0.2638, allocations: 4 kB / 417.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2638, allocations: 0 / 417.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.736e-06/0.2639, allocations: 7.938 kB / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2642, allocations: 455.8 kB / 418.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.2645, allocations: 206 kB / 418.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2647, allocations: 0.6768 MB / 419.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2648, allocations: 11.92 kB / 419.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.2649, allocations: 15.44 kB / 419.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2649, allocations: 0 / 419.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.282, allocations: 1.881 MB / 421.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.732, allocations: 3.938 kB / 421.1 MB, free: 4.715 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.0.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