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.001161/0.001161, 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.001191/0.001191, allocations: 202 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.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.88 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.241, allocations: 50.54 MB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001521/0.2425, allocations: 0.5069 MB / 409.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2442, allocations: 1.431 MB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.2442, allocations: 0 / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.2442, allocations: 3.938 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.2443, allocations: 0 / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.2449, allocations: 175.2 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.2449, allocations: 15.97 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.245, allocations: 4 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.245, allocations: 11.88 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.2451, allocations: 11.98 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2451, allocations: 4 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.2454, allocations: 171.8 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.2454, allocations: 7.969 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2454, allocations: 11.94 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.2456, allocations: 119.7 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2456, allocations: 0 / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2456, allocations: 0 / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.2456, allocations: 0 / 411.2 MB, free: 15.06 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.0003352/0.246, allocations: 349.2 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.246, allocations: 12.03 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.2461, allocations: 34.75 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2462, allocations: 8.938 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2463, allocations: 168.3 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2463, allocations: 384 / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2463, allocations: 3.938 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.2464, allocations: 29.7 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.2464, allocations: 0 / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.2465, allocations: 0 / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2465, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.2465, allocations: 3.938 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.2469, allocations: 484.9 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.247, allocations: 165.1 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.247, allocations: 80.14 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.247, allocations: 83.22 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2471, allocations: 113.8 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2471, allocations: 0 / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.966e-05/0.2472, allocations: 25.7 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.2472, allocations: 152.4 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.2474, allocations: 113.8 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.2474, allocations: 25.7 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.2474, allocations: 84.12 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.2474, allocations: 4 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2475, allocations: 25.75 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2476, allocations: 314.8 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.2476, allocations: 0 / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2476, allocations: 7.984 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.2477, allocations: 12.8 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2477, allocations: 256 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/0.2478, allocations: 45.69 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2478, allocations: 8.031 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2478, allocations: 7.984 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2478, allocations: 0 / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.2479, allocations: 4 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2479, allocations: 3.938 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.2479, allocations: 0 / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2479, allocations: 3.984 kB / 413.5 MB, free: 12.46 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.0001018/0.2481, allocations: 193 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.2481, allocations: 108.9 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.2482, allocations: 112.5 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/0.2483, allocations: 184.2 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/0.2483, allocations: 176.3 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-05/0.2484, allocations: 176.3 kB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2486, allocations: 417.1 kB / 414.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/0.2487, allocations: 101 kB / 415 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.2487, allocations: 108.9 kB / 415.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.226e-05/0.2488, allocations: 176.3 kB / 415.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.2488, allocations: 180.2 kB / 415.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.668e-05/0.2489, allocations: 184.4 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.919e-05/0.249, allocations: 188.3 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2491, allocations: 307.6 kB / 416.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.2492, allocations: 186.1 kB / 416.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.2493, allocations: 184.2 kB / 416.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.2494, allocations: 105 kB / 416.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.2495, allocations: 184.2 kB / 416.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.2495, allocations: 105 kB / 416.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.2496, allocations: 87.28 kB / 416.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2496, allocations: 0 / 416.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.2499, allocations: 43.94 kB / 417 MB, free: 8.801 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.0006623/0.2505, allocations: 0.8906 MB / 417.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.2506, allocations: 4 kB / 417.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2506, allocations: 4.062 kB / 417.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2506, allocations: 0 / 417.9 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.251, allocations: 459.7 kB / 418.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2514, allocations: 202 kB / 418.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2517, allocations: 0.6806 MB / 419.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.2518, allocations: 15.97 kB / 419.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.2518, allocations: 15.44 kB / 419.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2518, allocations: 0 / 419.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.2702, allocations: 1.866 MB / 421.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.482, allocations: 9.516 kB / 421.1 MB, free: 4.703 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