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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 117.2 kB / 20.38 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 191.3 kB / 23.66 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 252.4 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] 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=2500,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=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.92 kB / 370.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2016, allocations: 52.15 MB / 422.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001518/0.2031, allocations: 0.5081 MB / 423.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2049, allocations: 1.403 MB / 424.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.2049, allocations: 0 / 424.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2049, allocations: 0 / 424.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.205, allocations: 3.938 kB / 424.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.2056, allocations: 179.2 kB / 425 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.2056, allocations: 15.92 kB / 425 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.2057, allocations: 4 kB / 425 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.2057, allocations: 11.94 kB / 425 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.2057, allocations: 15.97 kB / 425 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2058, allocations: 0 / 425 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.206, allocations: 159.8 kB / 425.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.206, allocations: 4 kB / 425.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.2061, allocations: 7.938 kB / 425.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.2063, allocations: 121.2 kB / 425.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2063, allocations: 0 / 425.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2063, allocations: 0 / 425.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2063, allocations: 0 / 425.3 MB, free: 12.56 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.0003864/0.2067, allocations: 347.3 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2067, allocations: 8.031 kB / 425.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.2067, allocations: 8.891 kB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2069, allocations: 168.3 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2069, allocations: 8.375 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.2069, allocations: 4.125 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.207, allocations: 37.64 kB / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.207, allocations: 0 / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.207, allocations: 4 kB / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.207, allocations: 0 / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.207, allocations: 0 / 425.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.2075, allocations: 473 kB / 426.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/0.2076, allocations: 181.1 kB / 426.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.2076, allocations: 84.14 kB / 426.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.2076, allocations: 75.28 kB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.2077, allocations: 105.8 kB / 426.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2077, allocations: 0 / 426.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.312e-05/0.2078, allocations: 33.72 kB / 426.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.2078, allocations: 85.11 kB / 426.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2079, allocations: 105.9 kB / 427 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2079, allocations: 25.7 kB / 427 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.208, allocations: 92.02 kB / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.208, allocations: 0 / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.208, allocations: 17.72 kB / 427.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2082, allocations: 322.7 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.2082, allocations: 0 / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.2082, allocations: 11.98 kB / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.2082, allocations: 8.859 kB / 427.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2082, allocations: 0 / 427.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001383/0.2084, allocations: 41.64 kB / 427.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2084, allocations: 4 kB / 427.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2084, allocations: 0 / 427.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2084, allocations: 0 / 427.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.2084, allocations: 4 kB / 427.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.2084, allocations: 4.109 kB / 427.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.2085, allocations: 7.938 kB / 427.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2085, allocations: 0 / 427.5 MB, free: 10.09 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 0.0001166/0.2086, allocations: 189.1 kB / 427.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.2087, allocations: 104.9 kB / 427.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.2087, allocations: 108.5 kB / 427.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-05/0.2088, allocations: 188.2 kB / 428.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.234e-05/0.2089, allocations: 105 kB / 428.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.209, allocations: 182 kB / 428.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.2091, allocations: 180.3 kB / 428.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2092, allocations: 108.9 kB / 428.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.2093, allocations: 180.2 kB / 428.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000131/0.2094, allocations: 263.5 kB / 429.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001983/0.2096, allocations: 375 kB / 429.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.197e-05/0.2097, allocations: 113.4 kB / 429.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.084e-05/0.2097, allocations: 91.28 kB / 429.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of Backend: time 2.61e-07/0.2097, allocations: 0 / 429.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.2103, allocations: 166.6 kB / 429.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005371/0.2109, allocations: 0.8465 MB / 430.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of Templates: time 0.003385/0.2143, allocations: 0.8929 MB / 431.6 MB, free: 5.887 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.054081317037344]