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.001007/0.001007, allocations: 103.1 kB / 17.58 MB, free: 5.586 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.0009632/0.0009632, allocations: 188.2 kB / 18.51 MB, free: 4.664 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.182/1.182, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001065/0.001065, allocations: 55.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06906/0.07013, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003098/0.07327, allocations: 2.248 MB / 329.6 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.07448, allocations: 0.7778 MB / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.07453, allocations: 0 / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.354e-05/0.07464, allocations: 7.938 kB / 330.4 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.07475, allocations: 11.92 kB / 330.4 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.0754, allocations: 207.7 kB / 330.6 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.07548, allocations: 23.97 kB / 330.7 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.07553, allocations: 4 kB / 330.7 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.07557, allocations: 7.938 kB / 330.7 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.07565, allocations: 23.86 kB / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.07567, allocations: 0 / 330.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.07591, allocations: 139.8 kB / 330.8 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.07593, allocations: 8 kB / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.07596, allocations: 3.938 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.07621, allocations: 127.8 kB / 331 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.07622, allocations: 4 kB / 331 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07623, allocations: 4 kB / 331 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.07624, allocations: 0 / 331 MB, free: 0.7539 MB / 270.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.0003207/0.07656, allocations: 351.4 kB / 331.3 MB, free: 372 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.0766, allocations: 8.031 kB / 331.3 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.07665, allocations: 38.75 kB / 331.4 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.07668, allocations: 8.844 kB / 331.4 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.07681, allocations: 168.4 kB / 331.5 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.07682, allocations: 8.297 kB / 331.5 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.07684, allocations: 384 / 331.5 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.531e-05/0.07692, allocations: 37.83 kB / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.07693, allocations: 0 / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.07694, allocations: 0 / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.07695, allocations: 0 / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.07698, allocations: 8 kB / 331.6 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.0773, allocations: 396 kB / 332 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.07737, allocations: 177.1 kB / 332.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.07741, allocations: 80.14 kB / 332.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.07744, allocations: 75.28 kB / 332.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.07749, allocations: 109.8 kB / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.0775, allocations: 0 / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.883e-05/0.07757, allocations: 37.58 kB / 332.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.07763, allocations: 160.3 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.07774, allocations: 125.8 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.07776, allocations: 29.64 kB / 332.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.07782, allocations: 84.14 kB / 332.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.07783, allocations: 0 / 332.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.07786, allocations: 17.7 kB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.07796, allocations: 318.8 kB / 333.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.07798, allocations: 4 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.078, allocations: 8 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.07804, allocations: 12.84 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.07804, allocations: 0 / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.605e-05/0.07814, allocations: 41.64 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.07816, allocations: 4 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.07817, allocations: 0 / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.07819, allocations: 0 / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.07824, allocations: 4 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.07825, allocations: 128 / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.0783, allocations: 11.84 kB / 333.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.07832, allocations: 7.984 kB / 333.3 MB, free: 14.23 MB / 286.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.246e-05/0.07842, allocations: 185.1 kB / 333.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.07849, allocations: 105 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.07854, allocations: 116.2 kB / 333.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/0.07861, allocations: 180.2 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.22e-05/0.07868, allocations: 184.3 kB / 334 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-05/0.07873, allocations: 180.2 kB / 334.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.07895, allocations: 409.2 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.045e-05/0.079, allocations: 104.9 kB / 334.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.07904, allocations: 105 kB / 334.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.174e-05/0.0791, allocations: 188.2 kB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.07917, allocations: 184.2 kB / 335.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.198e-05/0.07924, allocations: 176.3 kB / 335.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-05/0.07931, allocations: 184.2 kB / 335.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.07945, allocations: 315.7 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.07953, allocations: 182.1 kB / 336 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.0796, allocations: 176.3 kB / 336.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.07969, allocations: 104.9 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.07976, allocations: 184.2 kB / 336.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.0798, allocations: 104.9 kB / 336.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.07985, allocations: 103.2 kB / 336.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07986, allocations: 0 / 336.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.08014, allocations: 44 kB / 336.7 MB, free: 10.57 MB / 286.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.0006337/0.08078, allocations: 0.8936 MB / 337.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.08086, allocations: 11.94 kB / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.08087, allocations: 0 / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.08088, allocations: 0 / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.08121, allocations: 455.8 kB / 338 MB, free: 9.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009191/0.08214, allocations: 1.349 MB / 339.4 MB, free: 7.758 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.08236, allocations: 0.6729 MB / 340.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.076e-05/0.0824, allocations: 11.92 kB / 340.1 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.08243, allocations: 15.44 kB / 340.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08243, allocations: 0 / 340.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.86/1.942, allocations: 2.041 MB / 342.1 MB, free: 4.938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/10.51, allocations: 7.75 kB / 342.1 MB, free: 4.93 MB / 286.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