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.001057/0.001057, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2108, allocations: 50.54 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001386/0.2122, allocations: 0.4888 MB / 410.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2139, allocations: 1.446 MB / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.2139, allocations: 0 / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.2139, allocations: 0 / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.129e-05/0.2139, allocations: 4 kB / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.2145, allocations: 183 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.2146, allocations: 12 kB / 412.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2146, allocations: 4 kB / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.2147, allocations: 15.86 kB / 412.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.2147, allocations: 7.984 kB / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2147, allocations: 0 / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.215, allocations: 171.8 kB / 412.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.215, allocations: 7.938 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.215, allocations: 7.938 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2153, allocations: 123.8 kB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2153, allocations: 0 / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2153, allocations: 4 kB / 412.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2153, allocations: 0 / 412.4 MB, free: 15.26 MB / 334.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.0003077/0.2156, allocations: 344.8 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2156, allocations: 8.031 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.2158, allocations: 4.938 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2159, allocations: 168.3 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.2159, allocations: 384 / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.2159, allocations: 8.125 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.24e-05/0.216, allocations: 33.7 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.216, allocations: 0 / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.216, allocations: 4 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-06/0.216, allocations: 0 / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.2161, allocations: 11.92 kB / 413 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.2164, allocations: 469 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.2165, allocations: 173.2 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.2165, allocations: 80.14 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2166, allocations: 75.28 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.2166, allocations: 117.8 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2166, allocations: 0 / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.2167, allocations: 33.61 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2167, allocations: 77.11 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.2168, allocations: 117.8 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2168, allocations: 25.7 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.2169, allocations: 88.14 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.2169, allocations: 0 / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.2169, allocations: 13.75 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.217, allocations: 322.8 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.217, allocations: 4 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.2171, allocations: 8 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/0.2171, allocations: 12.8 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2171, allocations: 0 / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.539e-05/0.2172, allocations: 33.7 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2172, allocations: 4 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2172, allocations: 0 / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2173, allocations: 3.984 kB / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.2173, allocations: 4 kB / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2173, allocations: 0 / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.2174, allocations: 11.97 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2174, allocations: 4 kB / 414.6 MB, free: 12.79 MB / 334.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.717e-05/0.2175, allocations: 193 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.2175, allocations: 108.9 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.2176, allocations: 108.5 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/0.2176, allocations: 176.3 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.2177, allocations: 108.9 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.2177, allocations: 186.1 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.2178, allocations: 188.2 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.2179, allocations: 104.9 kB / 415.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.218, allocations: 180.3 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.373e-05/0.2181, allocations: 255.5 kB / 416.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001418/0.2182, allocations: 387.2 kB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.609e-05/0.2183, allocations: 105 kB / 416.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.2183, allocations: 87.28 kB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.2183, allocations: 0 / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.2189, allocations: 168.8 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of SimCode: time 0.000399/0.2193, allocations: 0.8466 MB / 417.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of Templates: time 0.002973/0.2223, allocations: 0.9324 MB / 418.7 MB, free: 8.535 MB / 334.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 -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