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.0009858/0.0009858, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.0009682/0.0009683, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.148/1.148, allocations: 205.1 MB / 224 MB, free: 12.45 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.001143/0.001143, allocations: 55.88 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.087, allocations: 46.63 MB / 326.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003387/0.09041, allocations: 2.31 MB / 329.2 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.09154, allocations: 0.781 MB / 330 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.09159, allocations: 0 / 330 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.462e-05/0.09168, allocations: 7.984 kB / 330 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.09177, allocations: 3.938 kB / 330 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.09232, allocations: 191.9 kB / 330.2 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.09239, allocations: 19.98 kB / 330.2 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.739e-05/0.09242, allocations: 4 kB / 330.2 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.09246, allocations: 7.938 kB / 330.2 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.09252, allocations: 15.91 kB / 330.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.09254, allocations: 4 kB / 330.2 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.09275, allocations: 143.8 kB / 330.4 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.09277, allocations: 4 kB / 330.4 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.0928, allocations: 7.938 kB / 330.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.09301, allocations: 131.7 kB / 330.5 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.09302, allocations: 0 / 330.5 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09303, allocations: 0 / 330.5 MB, free: 1.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.09304, allocations: 4 kB / 330.5 MB, free: 1.047 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.0003282/0.09337, allocations: 355.4 kB / 330.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.09342, allocations: 8.031 kB / 330.9 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.09346, allocations: 34.75 kB / 330.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.09349, allocations: 8.844 kB / 330.9 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.09363, allocations: 176.3 kB / 331.1 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.09365, allocations: 384 / 331.1 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.09366, allocations: 384 / 331.1 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.09374, allocations: 37.83 kB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.09375, allocations: 0 / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.09376, allocations: 0 / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.09377, allocations: 0 / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.09379, allocations: 7.984 kB / 331.1 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.09411, allocations: 396 kB / 331.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.101e-05/0.09422, allocations: 173.1 kB / 331.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.09425, allocations: 80.14 kB / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.09428, allocations: 79.28 kB / 331.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.09433, allocations: 113.8 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.09434, allocations: 0 / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.819e-05/0.09441, allocations: 33.55 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.09448, allocations: 156.4 kB / 332.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.0946, allocations: 117.8 kB / 332.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.09463, allocations: 29.64 kB / 332.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.09469, allocations: 84.14 kB / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.09469, allocations: 0 / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.09473, allocations: 17.7 kB / 332.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.09484, allocations: 318.8 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.09486, allocations: 0 / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.09488, allocations: 15.98 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.09491, allocations: 8.859 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09492, allocations: 3.938 kB / 332.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.09503, allocations: 41.64 kB / 332.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.09505, allocations: 4 kB / 332.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.09505, allocations: 0 / 332.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.09507, allocations: 3.984 kB / 332.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.09512, allocations: 7.984 kB / 332.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.09513, allocations: 0 / 332.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.09517, allocations: 11.97 kB / 332.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.09519, allocations: 4 kB / 332.8 MB, free: 14.52 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 8.603e-05/0.09528, allocations: 185.1 kB / 333 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.09544, allocations: 105 kB / 333.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.09549, allocations: 116.2 kB / 333.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.926e-05/0.09556, allocations: 184.3 kB / 333.4 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001176/0.09569, allocations: 188.2 kB / 333.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.025e-05/0.09576, allocations: 176.3 kB / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.09601, allocations: 409.2 kB / 334.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.271e-05/0.09606, allocations: 104.9 kB / 334.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.0961, allocations: 105 kB / 334.3 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.09618, allocations: 180.2 kB / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/0.09627, allocations: 184.3 kB / 334.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.132e-05/0.09635, allocations: 180.3 kB / 334.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-05/0.09641, allocations: 184.2 kB / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.09659, allocations: 307.7 kB / 335.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.09667, allocations: 190.1 kB / 335.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.09681, allocations: 176.3 kB / 335.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.09692, allocations: 109.2 kB / 335.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.097, allocations: 180.3 kB / 336 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.09704, allocations: 105 kB / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.0972, allocations: 99.2 kB / 336.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09721, allocations: 4 kB / 336.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.0975, allocations: 40 kB / 336.2 MB, free: 10.87 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.0007665/0.09827, allocations: 0.9062 MB / 337.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.865e-05/0.09835, allocations: 11.94 kB / 337.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09836, allocations: 0 / 337.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.09837, allocations: 0 / 337.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.09871, allocations: 455.8 kB / 337.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1, allocations: 1.352 MB / 338.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1004, allocations: 0.6729 MB / 339.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.1004, allocations: 7.984 kB / 339.6 MB, free: 7.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1005, allocations: 15.44 kB / 339.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1005, allocations: 0 / 339.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.1159, allocations: 1.964 MB / 341.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.1161, allocations: 262.9 kB / 341.8 MB, free: 5.086 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.945, allocations: 0 / 341.8 MB, free: 5.086 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","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches