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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.00158/0.00158, allocations: 191 kB / 19.29 MB, free: 3.707 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.373/1.373, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001152/0.001152, allocations: 55.92 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07556/0.07672, allocations: 46.63 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003129/0.07989, allocations: 2.26 MB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.08097, allocations: 0.7778 MB / 331.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.08101, allocations: 4 kB / 331.8 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.08109, allocations: 4 kB / 331.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.08118, allocations: 7.938 kB / 331.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.08172, allocations: 207.5 kB / 332 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.485e-05/0.08179, allocations: 31.86 kB / 332 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.08183, allocations: 0 / 332 MB, free: 468 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.08187, allocations: 4 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.08193, allocations: 23.91 kB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.08195, allocations: 0 / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.08222, allocations: 183.8 kB / 332.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.08224, allocations: 3.984 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.08226, allocations: 11.94 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.08247, allocations: 127.7 kB / 332.4 MB, free: 112 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.08249, allocations: 4 kB / 332.4 MB, free: 108 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08249, allocations: 0 / 332.4 MB, free: 108 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.0825, allocations: 4 kB / 332.4 MB, free: 104 kB / 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.0003227/0.08283, allocations: 355.5 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.08287, allocations: 8.031 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.08291, allocations: 4.938 kB / 332.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.08304, allocations: 164.3 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.08306, allocations: 384 / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.08307, allocations: 4.375 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.959e-05/0.08316, allocations: 42 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.08318, allocations: 4 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.08319, allocations: 0 / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.0832, allocations: 0 / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.08324, allocations: 7.938 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.08357, allocations: 400 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.08365, allocations: 169.1 kB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.08369, allocations: 84.14 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.08372, allocations: 75.28 kB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.08376, allocations: 105.8 kB / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.08377, allocations: 0 / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.686e-05/0.08385, allocations: 33.64 kB / 333.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.08392, allocations: 160.4 kB / 334 MB, free: 14.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.08403, allocations: 125.7 kB / 334.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.08405, allocations: 25.7 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.0841, allocations: 84.14 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.08411, allocations: 3.938 kB / 334.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.08415, allocations: 13.72 kB / 334.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.08425, allocations: 318.8 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.08426, allocations: 4 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.08429, allocations: 4 kB / 334.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.08432, allocations: 20.83 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.08433, allocations: 0 / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.637e-05/0.08443, allocations: 41.69 kB / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.08444, allocations: 4 kB / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.08445, allocations: 0 / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.08447, allocations: 0 / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.39e-05/0.08452, allocations: 4 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.08453, allocations: 0 / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.08457, allocations: 4 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.08459, allocations: 4.031 kB / 334.6 MB, free: 13.64 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.88e-05/0.08469, allocations: 201 kB / 334.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.08475, allocations: 108.8 kB / 334.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.0848, allocations: 112.5 kB / 335 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/0.08485, allocations: 176.3 kB / 335.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.966e-05/0.08491, allocations: 188.2 kB / 335.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/0.08497, allocations: 180.3 kB / 335.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.08516, allocations: 409.1 kB / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/0.0852, allocations: 109 kB / 336 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.08524, allocations: 105 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.054e-05/0.08529, allocations: 180.2 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.08535, allocations: 188.2 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.995e-05/0.08541, allocations: 184.2 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.991e-05/0.08546, allocations: 176.3 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.08558, allocations: 311.7 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.08565, allocations: 182.1 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.08572, allocations: 184.2 kB / 337.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.08581, allocations: 101 kB / 337.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.08587, allocations: 184.2 kB / 337.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.08591, allocations: 109 kB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.08596, allocations: 87.28 kB / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08597, allocations: 0 / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000274/0.08625, allocations: 51.98 kB / 338 MB, free: 9.965 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.0004209/0.08668, allocations: 260.7 kB / 338.3 MB, free: 9.711 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.323e-05/0.08675, allocations: 7.984 kB / 338.3 MB, free: 9.703 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.08676, allocations: 0 / 338.3 MB, free: 9.703 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.08677, allocations: 3.938 kB / 338.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.08709, allocations: 463.6 kB / 338.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.08729, allocations: 176.3 kB / 338.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.0875, allocations: 0.6768 MB / 339.6 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.83e-05/0.08753, allocations: 7.984 kB / 339.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.08755, allocations: 7.438 kB / 339.6 MB, free: 8.324 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08756, allocations: 0 / 339.6 MB, free: 8.324 MB / 286.1 MB Notification: Performance of Templates: time 0.003184/0.09075, allocations: 1.102 MB / 340.7 MB, free: 7.223 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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