Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 113.4 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 188.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 51.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07984/0.08107, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003764/0.08489, allocations: 2.264 MB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.08634, allocations: 0.7815 MB / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.08642, allocations: 0 / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.551e-05/0.08657, allocations: 7.938 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.08668, allocations: 0 / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.08732, allocations: 219.7 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.0874, allocations: 15.92 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.08745, allocations: 7.984 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.0875, allocations: 15.94 kB / 377.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.08757, allocations: 11.92 kB / 377.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.08759, allocations: 0 / 377.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.0879, allocations: 187.7 kB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.08793, allocations: 4 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.08796, allocations: 11.86 kB / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.08819, allocations: 135.7 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.08821, allocations: 0 / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08821, allocations: 0 / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.08823, allocations: 4 kB / 378.3 MB, free: 1.406 MB / 318.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.000352/0.08858, allocations: 351.5 kB / 378.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.08863, allocations: 12.03 kB / 378.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.08867, allocations: 30.75 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.08871, allocations: 4.938 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.08884, allocations: 168.3 kB / 378.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.08886, allocations: 384 / 378.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.08887, allocations: 384 / 378.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.08896, allocations: 37.81 kB / 378.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.08898, allocations: 7.938 kB / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.08899, allocations: 0 / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.089, allocations: 0 / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.08903, allocations: 8 kB / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.08937, allocations: 396 kB / 379.3 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.974e-05/0.08945, allocations: 169.1 kB / 379.4 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.08949, allocations: 84.14 kB / 379.5 MB, free: 0 / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2476, allocations: 78.61 kB / 379.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.2477, allocations: 106.8 kB / 379.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.364e-06/0.2477, allocations: 0 / 379.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001066/0.2478, allocations: 30.36 kB / 379.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2479, allocations: 152.4 kB / 379.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.248, allocations: 115.2 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.248, allocations: 32.12 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.2481, allocations: 89.84 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.2481, allocations: 1.375 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.2481, allocations: 16.12 kB / 380.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.2482, allocations: 317.8 kB / 380.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.2482, allocations: 6.984 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.2482, allocations: 3.5 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.2483, allocations: 16.8 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2483, allocations: 1.516 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001142/0.2484, allocations: 39.39 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2484, allocations: 5.5 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2484, allocations: 0 / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2485, allocations: 2.859 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.2485, allocations: 2.438 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2485, allocations: 0.9375 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.2486, allocations: 5.75 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.2486, allocations: 3.125 kB / 380.5 MB, free: 12.34 MB / 318.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 5.943e-05/0.2487, allocations: 191.7 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.2487, allocations: 106 kB / 380.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2488, allocations: 109.6 kB / 380.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.2488, allocations: 185.1 kB / 381.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/0.2488, allocations: 180.4 kB / 381.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.2489, allocations: 178.8 kB / 381.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.249, allocations: 417 kB / 381.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.249, allocations: 108.2 kB / 382 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.455e-05/0.2491, allocations: 105.7 kB / 382.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/0.2491, allocations: 185.2 kB / 382.3 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.2491, allocations: 177.3 kB / 382.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-05/0.2492, allocations: 182.9 kB / 382.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.391e-05/0.2492, allocations: 178.2 kB / 382.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.866e-05/0.2493, allocations: 315.3 kB / 383.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.2493, allocations: 184.8 kB / 383.3 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2494, allocations: 177.8 kB / 383.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2494, allocations: 110.5 kB / 383.6 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2495, allocations: 182.4 kB / 383.7 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2495, allocations: 105.3 kB / 383.8 MB, free: 8.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.2496, allocations: 89.55 kB / 383.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2496, allocations: 0 / 383.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.2499, allocations: 46.03 kB / 384 MB, free: 8.859 MB / 318.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.0006649/0.2505, allocations: 0.9149 MB / 384.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.2506, allocations: 3.922 kB / 384.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2507, allocations: 1.375 kB / 384.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.2507, allocations: 3.938 kB / 384.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.2511, allocations: 458.5 kB / 385.3 MB, free: 7.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.2521, allocations: 1.345 MB / 386.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2522, allocations: 0.6753 MB / 387.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.2522, allocations: 8 kB / 387.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.2523, allocations: 10.41 kB / 387.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2523, allocations: 0 / 387.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.035/1.288, allocations: 2.087 MB / 389.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/9.159, allocations: 6.562 kB / 389.5 MB, free: 5.004 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches