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.001233/0.001233, allocations: 113.2 kB / 17.73 MB, free: 5.312 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.001153/0.001153, allocations: 188.2 kB / 18.67 MB, free: 4.387 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.282/1.282, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002264/0.002264, allocations: 47.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09436, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003254/0.09766, allocations: 2.268 MB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.09888, allocations: 0.7776 MB / 377.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.09893, allocations: 4 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.73e-05/0.09902, allocations: 11.92 kB / 377.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.09912, allocations: 4 kB / 377.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.09967, allocations: 211.4 kB / 377.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.09974, allocations: 19.92 kB / 377.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.867e-05/0.09978, allocations: 8 kB / 377.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.09982, allocations: 11.92 kB / 377.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.09988, allocations: 15.92 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.0999, allocations: 4 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1002, allocations: 187.7 kB / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1002, allocations: 0 / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1002, allocations: 15.88 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1005, allocations: 123.6 kB / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1005, allocations: 0 / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1005, allocations: 0 / 378.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1005, allocations: 4 kB / 378.3 MB, free: 1.402 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.0003603/0.1009, allocations: 359.2 kB / 378.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1009, allocations: 8.031 kB / 378.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.1009, allocations: 30.75 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.101, allocations: 4.891 kB / 378.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1011, allocations: 172.4 kB / 378.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1011, allocations: 4.312 kB / 378.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1011, allocations: 384 / 378.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.1012, allocations: 41.83 kB / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1012, allocations: 7.938 kB / 378.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1012, allocations: 0 / 378.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1013, allocations: 0 / 378.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.1013, allocations: 7.984 kB / 378.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1016, allocations: 392 kB / 379.3 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.1017, allocations: 173.1 kB / 379.5 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1509/0.2526, allocations: 80.14 kB / 379.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2527, allocations: 77.72 kB / 379.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2527, allocations: 106.5 kB / 379.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/0.2527, allocations: 0 / 379.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 9.018e-05/0.2528, allocations: 29.91 kB / 379.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2528, allocations: 156.8 kB / 379.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.253, allocations: 116.8 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.253, allocations: 28.73 kB / 380 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.253, allocations: 89.02 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.253, allocations: 0 / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2531, allocations: 16.47 kB / 380.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.2531, allocations: 321.3 kB / 380.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.2531, allocations: 3.062 kB / 380.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.2532, allocations: 4.891 kB / 380.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.2532, allocations: 13.77 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2532, allocations: 0 / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.587e-05/0.2533, allocations: 44.02 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2533, allocations: 5.953 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2533, allocations: 3.219 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2534, allocations: 0 / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.2534, allocations: 4.625 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2534, allocations: 1.656 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.2535, allocations: 0.6562 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2535, allocations: 5.703 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.527e-05/0.2535, allocations: 190.8 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.2536, allocations: 103.3 kB / 380.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.2536, allocations: 110.1 kB / 380.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.2537, allocations: 186 kB / 381.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/0.2537, allocations: 182.5 kB / 381.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.2537, allocations: 178.3 kB / 381.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2539, allocations: 419.4 kB / 381.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.2539, allocations: 103.1 kB / 382 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.2539, allocations: 107.1 kB / 382.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-05/0.2539, allocations: 185.1 kB / 382.3 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.254, allocations: 179.7 kB / 382.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.254, allocations: 180.7 kB / 382.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-05/0.254, allocations: 183.4 kB / 382.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.837e-05/0.2541, allocations: 308 kB / 383.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.2541, allocations: 191.3 kB / 383.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.2542, allocations: 178.6 kB / 383.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.2542, allocations: 108.1 kB / 383.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.2543, allocations: 181.9 kB / 383.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2543, allocations: 101.9 kB / 383.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.2543, allocations: 95.52 kB / 383.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2543, allocations: 0 / 383.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.2546, allocations: 48.72 kB / 384 MB, free: 8.852 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.0005365/0.2552, allocations: 0.9029 MB / 384.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.2552, allocations: 4.875 kB / 384.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2552, allocations: 0 / 384.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2553, allocations: 5.312 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.0002291/0.2555, allocations: 458.4 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.0006485/0.2561, allocations: 1.347 MB / 386.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.138e-05/0.2563, allocations: 0.6794 MB / 387.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2563, allocations: 5.969 kB / 387.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.2563, allocations: 13.59 kB / 387.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2563, allocations: 0 / 387.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.2787, allocations: 2.076 MB / 389.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/7.562, allocations: 9.531 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