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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008367/0.0008367, allocations: 98.45 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 203.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001898/0.0001898, allocations: 7.938 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07773/0.07793, allocations: 51.53 MB / 359.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004951/0.07846, allocations: 234.1 kB / 359.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.08009, allocations: 1.442 MB / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.08013, allocations: 0 / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.08015, allocations: 0 / 361 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.08018, allocations: 7.938 kB / 361 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.08067, allocations: 143.2 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.08072, allocations: 23.91 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.08076, allocations: 0 / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.0808, allocations: 11.94 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.08086, allocations: 15.92 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.08088, allocations: 4 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.08108, allocations: 127.8 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.0811, allocations: 4 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.08113, allocations: 33.62 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.08133, allocations: 123.8 kB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.08134, allocations: 0 / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08134, allocations: 0 / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.08135, allocations: 0 / 361.5 MB, free: 11 MB / 302.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.0002704/0.08162, allocations: 339.5 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.08166, allocations: 8.031 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.0817, allocations: 34.75 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.08183, allocations: 4.938 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.08194, allocations: 176.5 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.08195, allocations: 4.375 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.08197, allocations: 3.938 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.057e-05/0.08205, allocations: 33.69 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.08206, allocations: 0 / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.08208, allocations: 4 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.08209, allocations: 0 / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.08211, allocations: 8 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.08246, allocations: 477 kB / 362.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.08253, allocations: 169.1 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.08256, allocations: 80.14 kB / 362.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.08259, allocations: 79.28 kB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.08263, allocations: 113.8 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.08264, allocations: 3.938 kB / 363 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.501e-05/0.08271, allocations: 29.64 kB / 363 MB, free: 9.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.08276, allocations: 152.4 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.08286, allocations: 109.8 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.08287, allocations: 25.7 kB / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.08292, allocations: 88.14 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.08293, allocations: 0 / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.08295, allocations: 9.719 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.08304, allocations: 322.8 kB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.08306, allocations: 0 / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.08308, allocations: 4 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.0831, allocations: 8.859 kB / 363.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.08311, allocations: 0 / 363.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.315e-05/0.08321, allocations: 49.62 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.08323, allocations: 8 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.08324, allocations: 0 / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.08325, allocations: 3.938 kB / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.08329, allocations: 0 / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.0833, allocations: 0 / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.08334, allocations: 4 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.08335, allocations: 0 / 363.8 MB, free: 8.434 MB / 302.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 8.226e-05/0.08344, allocations: 193 kB / 364 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.0835, allocations: 109 kB / 364.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.08354, allocations: 112.4 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.844e-05/0.0836, allocations: 180.3 kB / 364.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.57e-05/0.08365, allocations: 176.3 kB / 364.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-05/0.0837, allocations: 180.2 kB / 364.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.08389, allocations: 413.2 kB / 365.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/0.08392, allocations: 112.9 kB / 365.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.08396, allocations: 101 kB / 365.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-05/0.08401, allocations: 188.2 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.08407, allocations: 180.3 kB / 365.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-05/0.08412, allocations: 176.3 kB / 365.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.772e-05/0.08417, allocations: 184.2 kB / 366.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.08428, allocations: 311.7 kB / 366.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.08435, allocations: 186 kB / 366.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.08441, allocations: 184.4 kB / 366.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.0845, allocations: 112.9 kB / 366.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.08456, allocations: 180.3 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.08459, allocations: 104.9 kB / 367.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.138e-05/0.08464, allocations: 91.27 kB / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08464, allocations: 0 / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.08491, allocations: 43.94 kB / 367.3 MB, free: 4.762 MB / 302.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.000552/0.08547, allocations: 0.8766 MB / 368.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.391e-05/0.08553, allocations: 4 kB / 368.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.08554, allocations: 8 kB / 368.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.08555, allocations: 0 / 368.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.08587, allocations: 0.5246 MB / 368.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.08618, allocations: 207.6 kB / 368.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.08638, allocations: 0.6809 MB / 369.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.657e-05/0.08645, allocations: 11.98 kB / 369.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.08648, allocations: 15.38 kB / 369.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08649, allocations: 0 / 369.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.09682, allocations: 1.634 MB / 371.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.09707, allocations: 255.2 kB / 371.5 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.65, allocations: 0 / 371.5 MB, free: 0.6016 MB / 302.1 MB (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches