Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 56.56 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09487, allocations: 50.52 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00168/0.09659, allocations: 0.5019 MB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.09832, allocations: 1.441 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.09835, allocations: 0 / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.09839, allocations: 0 / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.09842, allocations: 3.938 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.09905, allocations: 186.9 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.331e-05/0.09912, allocations: 19.86 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.09917, allocations: 4 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.09921, allocations: 8 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.09927, allocations: 11.92 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.09928, allocations: 0 / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.09954, allocations: 167.8 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.09957, allocations: 19.92 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.0996, allocations: 7.922 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.0998, allocations: 119.8 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.09981, allocations: 0 / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.09982, allocations: 0 / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.09983, allocations: 0 / 361.4 MB, free: 10.87 MB / 302.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.0003433/0.1002, allocations: 359.4 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1002, allocations: 8.031 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1004, allocations: 4.938 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1005, allocations: 172.2 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1005, allocations: 4.375 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1006, allocations: 4.125 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1007, allocations: 37.62 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1007, allocations: 0 / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1007, allocations: 0 / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1007, allocations: 0 / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.1008, allocations: 4 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1013, allocations: 481 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.1014, allocations: 165.1 kB / 362.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.1014, allocations: 84.08 kB / 362.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.1014, allocations: 75.28 kB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.1015, allocations: 109.8 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1015, allocations: 0 / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.071e-05/0.1016, allocations: 33.7 kB / 362.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.1017, allocations: 152.4 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1018, allocations: 105.8 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1018, allocations: 25.7 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.1019, allocations: 92.05 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.1019, allocations: 0 / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.1019, allocations: 17.7 kB / 363.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1021, allocations: 318.8 kB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.1021, allocations: 7.938 kB / 363.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.1021, allocations: 0 / 363.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.1021, allocations: 13.11 kB / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1021, allocations: 0 / 363.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.1023, allocations: 41.69 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1023, allocations: 4 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1023, allocations: 4.125 kB / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1023, allocations: 4 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.1024, allocations: 0 / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1024, allocations: 0 / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.1024, allocations: 0 / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1024, allocations: 11.88 kB / 363.7 MB, free: 8.324 MB / 302.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.955e-05/0.1025, allocations: 193 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.1026, allocations: 109 kB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1026, allocations: 112.5 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/0.1027, allocations: 180.2 kB / 364.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.663e-05/0.1028, allocations: 180.3 kB / 364.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.1028, allocations: 184.2 kB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.103, allocations: 409.2 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.1031, allocations: 105.1 kB / 365.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.1031, allocations: 108.9 kB / 365.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.295e-05/0.1032, allocations: 176.3 kB / 365.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.1032, allocations: 188.2 kB / 365.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.238e-05/0.1033, allocations: 180.3 kB / 365.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.191e-05/0.1033, allocations: 180.3 kB / 365.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1035, allocations: 311.7 kB / 366.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.1036, allocations: 193.9 kB / 366.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.1036, allocations: 176.3 kB / 366.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.1037, allocations: 101 kB / 366.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.1038, allocations: 184.2 kB / 366.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.1038, allocations: 105 kB / 367 MB, free: 4.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.398e-05/0.1039, allocations: 87.27 kB / 367 MB, free: 4.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1039, allocations: 0 / 367 MB, free: 4.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1042, allocations: 40 kB / 367.1 MB, free: 4.668 MB / 302.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.0003667/0.1045, allocations: 259.2 kB / 367.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.332e-05/0.1046, allocations: 15.94 kB / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1046, allocations: 0 / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1046, allocations: 0 / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.105, allocations: 458.5 kB / 367.8 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.1052, allocations: 168.3 kB / 368 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1054, allocations: 0.6768 MB / 368.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.1055, allocations: 7.984 kB / 368.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.1055, allocations: 7.438 kB / 368.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of SimCode: time 2.595e-06/0.1055, allocations: 4 kB / 368.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of Templates: time 0.003118/0.1087, allocations: 0.9608 MB / 369.6 MB, free: 2.086 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches