Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001451/0.001451, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.001486/0.001486, allocations: 202.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2567, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001673/0.2584, allocations: 0.5006 MB / 431.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.2603, allocations: 1.4 MB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.2603, allocations: 0 / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.2603, allocations: 4 kB / 433 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.2603, allocations: 3.938 kB / 433 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.2609, allocations: 188.8 kB / 433.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.261, allocations: 12 kB / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.261, allocations: 7.984 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.2611, allocations: 4 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.2611, allocations: 7.938 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2611, allocations: 4 kB / 433.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.2614, allocations: 171.8 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.2614, allocations: 7.969 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.2615, allocations: 11.94 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2617, allocations: 115.7 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2617, allocations: 4 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2617, allocations: 4 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2617, allocations: 0 / 433.5 MB, free: 4.188 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.0003795/0.2621, allocations: 278.2 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2621, allocations: 11.97 kB / 433.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2621, allocations: 30.75 kB / 433.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2623, allocations: 8.875 kB / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.2624, allocations: 106.5 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2624, allocations: 384 / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.2624, allocations: 3.938 kB / 433.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.2625, allocations: 67.39 kB / 434 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2625, allocations: 3.938 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2625, allocations: 0 / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.2625, allocations: 0 / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.2625, allocations: 4 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.2629, allocations: 367 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.263, allocations: 173.1 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.2631, allocations: 84.14 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.2631, allocations: 75.28 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/0.2632, allocations: 113.8 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2632, allocations: 0 / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.2632, allocations: 33.64 kB / 434.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.2633, allocations: 152.4 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2634, allocations: 109.8 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2634, allocations: 29.7 kB / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.2635, allocations: 84.08 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.2635, allocations: 0 / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.2635, allocations: 17.72 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2637, allocations: 322.8 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.2637, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.2637, allocations: 29.95 kB / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.2637, allocations: 12.95 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2637, allocations: 4 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.2638, allocations: 41.59 kB / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2639, allocations: 4 kB / 435.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2639, allocations: 11.95 kB / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2639, allocations: 0 / 435.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.2639, allocations: 4 kB / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2639, allocations: 0 / 435.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.264, allocations: 4 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.264, allocations: 7.938 kB / 435.7 MB, free: 1.82 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.0001135/0.2641, allocations: 193 kB / 435.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.2641, allocations: 105 kB / 435.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.2642, allocations: 112.4 kB / 436.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.911e-05/0.2643, allocations: 176.3 kB / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001196/0.2644, allocations: 188.2 kB / 436.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/0.2645, allocations: 176.3 kB / 436.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.2647, allocations: 380.2 kB / 437 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/0.2648, allocations: 104.9 kB / 437.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.2648, allocations: 105 kB / 437.2 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.256e-05/0.2649, allocations: 180.2 kB / 437.3 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.265, allocations: 188.3 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.462e-05/0.265, allocations: 180.5 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.48e-05/0.2651, allocations: 188.2 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.2653, allocations: 311.7 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2653, allocations: 105 kB / 438.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.2654, allocations: 176.3 kB / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2655, allocations: 112.9 kB / 438.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.2656, allocations: 176.3 kB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.2657, allocations: 108.9 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.2657, allocations: 87.28 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 4 kB / 438.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.266, allocations: 43.86 kB / 439 MB, free: 14.29 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.0006779/0.2667, allocations: 0.8787 MB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7e-05/0.2668, allocations: 7.938 kB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2668, allocations: 0 / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.2668, allocations: 0 / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.2672, allocations: 460.6 kB / 440.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.2675, allocations: 217.8 kB / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.2676, allocations: 59.34 kB / 440.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.857e-05/0.2677, allocations: 7.984 kB / 440.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.2677, allocations: 15.42 kB / 440.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2677, allocations: 0 / 440.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.2945, allocations: 2.409 MB / 443 MB, free: 10.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.7, allocations: 15.16 kB / 443 MB, free: 10.3 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.962687154009473]