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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 207.6 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.91 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2389, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001579/0.2405, allocations: 0.4928 MB / 432.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2424, allocations: 1.466 MB / 433.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.2424, allocations: 4 kB / 433.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.2424, allocations: 0 / 433.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.6e-05/0.2424, allocations: 7.938 kB / 433.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.2431, allocations: 183.1 kB / 434.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.2431, allocations: 15.92 kB / 434.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.2432, allocations: 8 kB / 434.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.2432, allocations: 11.98 kB / 434.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.2433, allocations: 7.984 kB / 434.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2433, allocations: 4 kB / 434.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.2436, allocations: 171.8 kB / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2436, allocations: 7.938 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2436, allocations: 7.984 kB / 434.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2438, allocations: 124.5 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2438, allocations: 0 / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2438, allocations: 0 / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2438, allocations: 0 / 434.5 MB, free: 4.184 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.0003406/0.2442, allocations: 282.2 kB / 434.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2442, allocations: 8.031 kB / 434.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.215e-05/0.2442, allocations: 8.125 kB / 434.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.2443, allocations: 30.75 kB / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.2444, allocations: 8.922 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.2445, allocations: 110.5 kB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.2445, allocations: 4.125 kB / 434.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.2445, allocations: 0 / 434.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.736e-05/0.2446, allocations: 37.64 kB / 434.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.2446, allocations: 0 / 434.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2446, allocations: 7.969 kB / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.2446, allocations: 0 / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.2446, allocations: 4 kB / 434.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.245, allocations: 370.9 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/0.2451, allocations: 169.1 kB / 435.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.2452, allocations: 80.14 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.2452, allocations: 75.28 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.2452, allocations: 109.8 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.2452, allocations: 3.938 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.381e-05/0.2453, allocations: 37.58 kB / 435.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.2454, allocations: 160.4 kB / 435.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2455, allocations: 109.8 kB / 436 MB, free: 2.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2455, allocations: 25.7 kB / 436.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.2456, allocations: 84.08 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.2456, allocations: 0 / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.2456, allocations: 17.72 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2458, allocations: 322.8 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.2458, allocations: 0 / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.2458, allocations: 8 kB / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.2458, allocations: 8.859 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2458, allocations: 4 kB / 436.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001005/0.2459, allocations: 37.59 kB / 436.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.246, allocations: 8 kB / 436.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.246, allocations: 0 / 436.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.246, allocations: 0 / 436.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.246, allocations: 3.984 kB / 436.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.246, allocations: 8.109 kB / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.2461, allocations: 4 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2461, allocations: 3.938 kB / 436.6 MB, free: 1.871 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.0001142/0.2462, allocations: 185.1 kB / 436.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.2462, allocations: 101 kB / 436.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.2463, allocations: 116.4 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-05/0.2464, allocations: 180.3 kB / 437.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-05/0.2465, allocations: 184.5 kB / 437.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.878e-05/0.2465, allocations: 180.2 kB / 437.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.2468, allocations: 388.2 kB / 437.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/0.2468, allocations: 101 kB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.2469, allocations: 105 kB / 438.1 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.753e-05/0.247, allocations: 188.2 kB / 438.3 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.2471, allocations: 184.3 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.362e-05/0.2472, allocations: 180.4 kB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-05/0.2473, allocations: 184.3 kB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2474, allocations: 315.7 kB / 439.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.2475, allocations: 101 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.2476, allocations: 184.2 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2477, allocations: 101 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.2478, allocations: 180.2 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.2479, allocations: 104.9 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.2479, allocations: 95.22 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2479, allocations: 0 / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000333/0.2483, allocations: 47.86 kB / 439.9 MB, free: 14.34 MB / 350.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.0007659/0.249, allocations: 0.8641 MB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.2491, allocations: 7.938 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2491, allocations: 0 / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.2491, allocations: 0 / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2495, allocations: 463.7 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.25, allocations: 213.9 kB / 441.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2503, allocations: 0.669 MB / 442.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.2504, allocations: 19.95 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.2504, allocations: 11.38 kB / 442.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2504, allocations: 0 / 442.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.2718, allocations: 2.009 MB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.57, allocations: 8.062 kB / 444.1 MB, free: 10.12 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.811617001018021]