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.0018/0.0018, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002342/0.002342, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.001734/0.001734, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2348, allocations: 53.41 MB / 431.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001599/0.2364, allocations: 0.4996 MB / 432.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2382, allocations: 1.396 MB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.2382, allocations: 0 / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.2382, allocations: 0 / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.2383, allocations: 3.938 kB / 433.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.2389, allocations: 192.9 kB / 434 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.2389, allocations: 19.86 kB / 434 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.239, allocations: 3.984 kB / 434 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.239, allocations: 12 kB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.2391, allocations: 11.92 kB / 434 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2391, allocations: 0 / 434 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.2394, allocations: 171.3 kB / 434.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.2394, allocations: 7.984 kB / 434.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.2394, allocations: 3.984 kB / 434.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2396, allocations: 127.7 kB / 434.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2396, allocations: 4 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2396, allocations: 0 / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2396, allocations: 0 / 434.3 MB, free: 4.168 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.0003314/0.2399, allocations: 274.2 kB / 434.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.24, allocations: 12.03 kB / 434.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.629e-05/0.24, allocations: 4.125 kB / 434.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.24, allocations: 34.75 kB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2401, allocations: 4.938 kB / 434.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2403, allocations: 110.5 kB / 434.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2403, allocations: 8.062 kB / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.2403, allocations: 4 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2404, allocations: 59.39 kB / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2404, allocations: 0 / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.2404, allocations: 3.938 kB / 434.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2404, allocations: 0 / 434.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.2404, allocations: 4 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.2408, allocations: 371 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.2409, allocations: 177.1 kB / 435.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.2409, allocations: 80.14 kB / 435.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.241, allocations: 75.28 kB / 435.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.241, allocations: 109.8 kB / 435.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.241, allocations: 0 / 435.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.255e-05/0.2411, allocations: 33.7 kB / 435.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/0.2412, allocations: 156.3 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2413, allocations: 109.8 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2413, allocations: 25.7 kB / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.2414, allocations: 84.14 kB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.2414, allocations: 0 / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2414, allocations: 17.7 kB / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2416, allocations: 318.8 kB / 436.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.2416, allocations: 0 / 436.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.2416, allocations: 37.7 kB / 436.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.2416, allocations: 8.859 kB / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2416, allocations: 0 / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.2417, allocations: 45.58 kB / 436.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2418, allocations: 4 kB / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2418, allocations: 0 / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2418, allocations: 0 / 436.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.2418, allocations: 4 kB / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2418, allocations: 0 / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.2419, allocations: 8.062 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2419, allocations: 3.938 kB / 436.5 MB, free: 1.809 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.0001111/0.242, allocations: 189.1 kB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.2421, allocations: 105 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.2421, allocations: 112.4 kB / 436.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/0.2422, allocations: 176.3 kB / 437 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-05/0.2423, allocations: 180.3 kB / 437.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-05/0.2424, allocations: 184.1 kB / 437.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.2426, allocations: 380.2 kB / 437.8 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/0.2427, allocations: 108.9 kB / 437.9 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.2427, allocations: 109.2 kB / 438 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.13e-05/0.2428, allocations: 184.3 kB / 438.2 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.382e-05/0.2429, allocations: 188.4 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.911e-05/0.243, allocations: 180.3 kB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.357e-05/0.243, allocations: 184.2 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.2432, allocations: 311.7 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.2433, allocations: 105 kB / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.2434, allocations: 176.3 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2435, allocations: 108.9 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.2435, allocations: 180.2 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.2436, allocations: 112.9 kB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.508e-05/0.2437, allocations: 95.22 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2437, allocations: 0 / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.2439, allocations: 39.92 kB / 439.8 MB, free: 14.27 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.0007737/0.2447, allocations: 0.8583 MB / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.2448, allocations: 8 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2448, allocations: 0 / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.2448, allocations: 8 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.2452, allocations: 459.7 kB / 441.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.2456, allocations: 217.8 kB / 441.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.2456, allocations: 55.36 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.2458, allocations: 11.97 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.2458, allocations: 15.38 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2458, allocations: 0 / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2687, allocations: 2.051 MB / 443.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.9, allocations: 10.88 kB / 443.5 MB, free: 10.63 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: 13.225990921026096]