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.001234/0.001234, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001245/0.001245, allocations: 187.8 kB / 24.5 MB, free: 4.02 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.322/1.322, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 51.91 kB / 371.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.232, allocations: 52.18 MB / 423.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00155/0.2335, allocations: 0.5119 MB / 423.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2353, allocations: 1.403 MB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.2353, allocations: 0 / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.2353, allocations: 0 / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.803e-05/0.2354, allocations: 3.938 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.236, allocations: 174.6 kB / 425.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.236, allocations: 23.91 kB / 425.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.2361, allocations: 4 kB / 425.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.2361, allocations: 8 kB / 425.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.2362, allocations: 11.92 kB / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2362, allocations: 0 / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.2364, allocations: 163.8 kB / 425.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.2364, allocations: 7.969 kB / 425.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.2365, allocations: 7.938 kB / 425.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2367, allocations: 116.6 kB / 425.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2367, allocations: 11.94 kB / 425.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2367, allocations: 0 / 425.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2367, allocations: 0 / 425.8 MB, free: 12.22 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.000321/0.237, allocations: 278.1 kB / 426.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.237, allocations: 8.031 kB / 426.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.027e-05/0.237, allocations: 192 / 426.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.2371, allocations: 30.75 kB / 426.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.2371, allocations: 8.891 kB / 426.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2372, allocations: 110.5 kB / 426.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.2372, allocations: 8.125 kB / 426.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2372, allocations: 4 kB / 426.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.2373, allocations: 29.69 kB / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.2373, allocations: 4 kB / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.2373, allocations: 0 / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2373, allocations: 0 / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.2373, allocations: 0 / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.2377, allocations: 375 kB / 426.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.2378, allocations: 173.1 kB / 426.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.2378, allocations: 80.14 kB / 426.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.2379, allocations: 75.28 kB / 427 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.2379, allocations: 113.8 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2379, allocations: 4 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.689e-05/0.238, allocations: 29.7 kB / 427.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.2381, allocations: 156.3 kB / 427.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2382, allocations: 109.8 kB / 427.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2382, allocations: 25.7 kB / 427.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.2383, allocations: 92.09 kB / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2383, allocations: 0 / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.2383, allocations: 13.72 kB / 427.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2384, allocations: 322.8 kB / 427.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.2384, allocations: 4 kB / 427.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.2385, allocations: 4 kB / 427.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.2385, allocations: 12.8 kB / 427.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2385, allocations: 0 / 427.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.586e-05/0.2386, allocations: 37.64 kB / 427.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2386, allocations: 7.984 kB / 427.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2386, allocations: 128 / 427.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2386, allocations: 8 kB / 427.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-05/0.2386, allocations: 0 / 427.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2387, allocations: 0 / 427.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.2387, allocations: 0 / 427.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2387, allocations: 7.938 kB / 427.9 MB, free: 9.926 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.0001077/0.2388, allocations: 185.1 kB / 428.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.2389, allocations: 108.9 kB / 428.2 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.2389, allocations: 116.4 kB / 428.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-05/0.239, allocations: 180.2 kB / 428.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-05/0.2391, allocations: 180.3 kB / 428.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.172e-05/0.2392, allocations: 184.2 kB / 428.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2394, allocations: 376.2 kB / 429.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/0.2395, allocations: 104.9 kB / 429.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.2395, allocations: 113 kB / 429.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.231e-05/0.2396, allocations: 176.3 kB / 429.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.2397, allocations: 184.2 kB / 429.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.645e-05/0.2397, allocations: 176.3 kB / 430 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-05/0.2398, allocations: 180.4 kB / 430.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.24, allocations: 323.7 kB / 430.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.24, allocations: 105 kB / 430.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/0.2401, allocations: 176.3 kB / 430.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2402, allocations: 105.2 kB / 430.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.2403, allocations: 192.2 kB / 431 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.2403, allocations: 108.9 kB / 431.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.2404, allocations: 91.22 kB / 431.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2404, allocations: 0 / 431.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.2407, allocations: 39.86 kB / 431.3 MB, free: 6.391 MB / 334.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.0006948/0.2414, allocations: 0.8813 MB / 432.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.2415, allocations: 4 kB / 432.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2415, allocations: 0 / 432.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.2415, allocations: 7.938 kB / 432.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.2418, allocations: 459.8 kB / 432.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.2422, allocations: 213.8 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.2425, allocations: 0.6766 MB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.763e-05/0.2426, allocations: 11.98 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.2426, allocations: 15.42 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2426, allocations: 4 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.2632, allocations: 1.941 MB / 435.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.54, allocations: 7.344 kB / 435.5 MB, free: 2.258 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.733486873970833]