Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 51.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2424, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002874/0.2452, allocations: 2.133 MB / 398.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.2462, allocations: 0.7259 MB / 399.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.2462, allocations: 0 / 399.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.001e-05/0.2463, allocations: 7.375 kB / 399.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.129e-05/0.2464, allocations: 19.39 kB / 399.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.2469, allocations: 213.3 kB / 399.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.247, allocations: 15.84 kB / 399.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.247, allocations: 1.641 kB / 399.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.2471, allocations: 11.33 kB / 399.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.2471, allocations: 25 kB / 399.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2471, allocations: 1 kB / 399.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.2474, allocations: 165.7 kB / 399.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.2474, allocations: 2.984 kB / 399.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.2474, allocations: 15.66 kB / 399.7 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.2476, allocations: 123.1 kB / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2476, allocations: 0 / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2476, allocations: 0.9844 kB / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.2477, allocations: 0 / 399.8 MB, free: 6.723 MB / 318.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.0002548/0.2479, allocations: 277.7 kB / 400.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2479, allocations: 17.58 kB / 400.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.927e-05/0.248, allocations: 31.84 kB / 400.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.248, allocations: 5.953 kB / 400.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.2481, allocations: 111.9 kB / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.2481, allocations: 1.5 kB / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.2481, allocations: 384 / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.519e-05/0.2482, allocations: 67.38 kB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2482, allocations: 0 / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2482, allocations: 1.312 kB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2482, allocations: 0 / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.2482, allocations: 8.984 kB / 400.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.2484, allocations: 376.1 kB / 400.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.608e-05/0.2485, allocations: 172.5 kB / 400.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.2485, allocations: 80.14 kB / 400.9 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2485, allocations: 80.72 kB / 401 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2485, allocations: 108.1 kB / 401.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.2485, allocations: 0 / 401.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.862e-05/0.2486, allocations: 36.25 kB / 401.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2486, allocations: 153.1 kB / 401.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.2487, allocations: 120.8 kB / 401.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.2487, allocations: 27.08 kB / 401.4 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.2487, allocations: 94.25 kB / 401.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.2487, allocations: 1.188 kB / 401.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.2488, allocations: 16.17 kB / 401.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.2488, allocations: 317.3 kB / 401.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.2488, allocations: 3.094 kB / 401.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.2488, allocations: 35.08 kB / 401.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.995e-05/0.2488, allocations: 11.73 kB / 401.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2488, allocations: 0 / 401.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.993e-05/0.2489, allocations: 44.5 kB / 401.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2489, allocations: 9.156 kB / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2489, allocations: 2.594 kB / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.249, allocations: 0 / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.197e-05/0.249, allocations: 6.406 kB / 402 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.249, allocations: 1.125 kB / 402 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.249, allocations: 0 / 402 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2491, allocations: 3.266 kB / 402 MB, free: 4.48 MB / 318.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 4.857e-05/0.2491, allocations: 187.7 kB / 402.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.2491, allocations: 104.2 kB / 402.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.2492, allocations: 110.9 kB / 402.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.2492, allocations: 186.7 kB / 402.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.2492, allocations: 178.6 kB / 402.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.2492, allocations: 186.5 kB / 402.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.2494, allocations: 380 kB / 403.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.2494, allocations: 103.1 kB / 403.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.2494, allocations: 106.9 kB / 403.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.2494, allocations: 182.4 kB / 403.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2494, allocations: 181.7 kB / 403.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.2494, allocations: 183.6 kB / 404 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-05/0.2495, allocations: 180.8 kB / 404.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.017e-05/0.2495, allocations: 316.6 kB / 404.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.2495, allocations: 111.7 kB / 404.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.2496, allocations: 178.4 kB / 404.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.2496, allocations: 107.5 kB / 404.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.2497, allocations: 178.2 kB / 405 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2497, allocations: 103.2 kB / 405.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.2497, allocations: 96.39 kB / 405.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2497, allocations: 0 / 405.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.25, allocations: 42.84 kB / 405.3 MB, free: 1.039 MB / 318.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.000524/0.2505, allocations: 0.909 MB / 406.2 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.2506, allocations: 9.422 kB / 406.2 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2506, allocations: 0 / 406.2 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-06/0.2506, allocations: 5.25 kB / 406.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2509, allocations: 459 kB / 406.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2521, allocations: 1.358 MB / 408 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.2521, allocations: 60.28 kB / 408.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.2521, allocations: 6.109 kB / 408.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.2522, allocations: 9.984 kB / 408.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2522, allocations: 0 / 408.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.2801, allocations: 2.603 MB / 410.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.67, allocations: 16.78 kB / 410.7 MB, free: 13.18 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.804124671965837]