Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008066/0.0008066, allocations: 94.25 kB / 17.31 MB, free: 6.535 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.0007781/0.0007781, allocations: 175.2 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 11.94 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09355, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0006518/0.09427, allocations: 237.9 kB / 352.7 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.09615, allocations: 1.398 MB / 354.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.09619, allocations: 4 kB / 354.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.09621, allocations: 0 / 354.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.09625, allocations: 0 / 354.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.0968, allocations: 142.7 kB / 354.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.09685, allocations: 15.98 kB / 354.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.0969, allocations: 4 kB / 354.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.09694, allocations: 7.984 kB / 354.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.09701, allocations: 11.92 kB / 354.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.09703, allocations: 4 kB / 354.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.09724, allocations: 119.8 kB / 354.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.09726, allocations: 7.984 kB / 354.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.0973, allocations: 33.64 kB / 354.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.09746, allocations: 79.89 kB / 354.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09747, allocations: 0 / 354.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09748, allocations: 0 / 354.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.09748, allocations: 0 / 354.5 MB, free: 1.629 MB / 286.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.0003287/0.09782, allocations: 335.5 kB / 354.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.09786, allocations: 12.03 kB / 354.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.0979, allocations: 0.9375 kB / 354.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.09802, allocations: 168.3 kB / 355 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.09804, allocations: 4.375 kB / 355 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.09806, allocations: 8.125 kB / 355.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.09816, allocations: 37.69 kB / 355.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.09817, allocations: 0 / 355.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.09819, allocations: 0 / 355.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.0982, allocations: 0 / 355.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.09822, allocations: 4 kB / 355.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.09867, allocations: 469.2 kB / 355.6 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/0.09878, allocations: 185.1 kB / 355.7 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.09881, allocations: 84.08 kB / 355.8 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.09885, allocations: 75.28 kB / 355.9 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.09892, allocations: 105.8 kB / 356 MB, free: 15.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/0.09892, allocations: 0 / 356 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.339e-05/0.099, allocations: 33.64 kB / 356 MB, free: 15.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.09908, allocations: 156.4 kB / 356.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.09919, allocations: 117.8 kB / 356.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.09922, allocations: 25.7 kB / 356.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.09927, allocations: 88.08 kB / 356.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.09928, allocations: 0 / 356.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.09931, allocations: 9.719 kB / 356.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.09943, allocations: 318.8 kB / 356.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.09945, allocations: 7.984 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.09947, allocations: 4 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.0995, allocations: 8.859 kB / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09951, allocations: 0 / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.09962, allocations: 41.55 kB / 356.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.09964, allocations: 4 kB / 356.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.09965, allocations: 0 / 356.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.09967, allocations: 0 / 356.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.09972, allocations: 7.984 kB / 356.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.09973, allocations: 128 / 356.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.09978, allocations: 4 kB / 356.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.0998, allocations: 4 kB / 356.8 MB, free: 15.11 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 9.713e-05/0.0999, allocations: 189.1 kB / 357 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.09997, allocations: 105 kB / 357.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.1, allocations: 112.4 kB / 357.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/0.1001, allocations: 176.3 kB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/0.1002, allocations: 192.2 kB / 357.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.094e-05/0.1002, allocations: 180.3 kB / 357.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1004, allocations: 401.2 kB / 358.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.1005, allocations: 112.9 kB / 358.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.1005, allocations: 101 kB / 358.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/0.1006, allocations: 188.2 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.1007, allocations: 180.3 kB / 358.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-05/0.1007, allocations: 180.3 kB / 358.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.047e-05/0.1008, allocations: 184.1 kB / 359.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1009, allocations: 315.7 kB / 359.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.101, allocations: 178.1 kB / 359.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.1011, allocations: 180.3 kB / 359.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.1012, allocations: 108.9 kB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.1013, allocations: 180.2 kB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.1013, allocations: 108.9 kB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.1014, allocations: 87.28 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1014, allocations: 0 / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1017, allocations: 39.98 kB / 360.2 MB, free: 11.45 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.0004143/0.1021, allocations: 261.4 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.1022, allocations: 8 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1022, allocations: 0 / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.1022, allocations: 0 / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1026, allocations: 0.5185 MB / 361 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.1028, allocations: 199.9 kB / 361.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.103, allocations: 0.6731 MB / 361.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.103, allocations: 11.44 kB / 361.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.103, allocations: 0 / 361.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002556/0.1056, allocations: 0.9523 MB / 362.8 MB, free: 8.777 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches