Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 195.6 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000723/0.000723, allocations: 103.1 kB / 296.7 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.0002288, allocations: 8 kB / 356.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 51.28 MB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002093/0.2021, allocations: 2.472 MB / 410.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.203, allocations: 0.6702 MB / 411.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2031, allocations: 8 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2033, allocations: 39.62 kB / 411.3 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.2034, allocations: 77.41 kB / 411.4 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2036, allocations: 64.7 kB / 411.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.2038, allocations: 350.9 kB / 411.8 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.204, allocations: 153.7 kB / 411.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2042, allocations: 115.6 kB / 412.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2044, allocations: 131.4 kB / 412.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.2044, allocations: 16 kB / 412.2 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.2045, allocations: 16 kB / 412.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.2045, allocations: 54.19 kB / 412.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.2046, allocations: 165 kB / 412.4 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.2048, allocations: 288.4 kB / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2048, allocations: 0 / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2048, allocations: 0 / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2048, allocations: 0 / 412.7 MB, free: 23.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006801/0.2055, allocations: 0.5692 MB / 413.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2055, allocations: 8.031 kB / 413.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.2056, allocations: 78.72 kB / 413.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.2057, allocations: 32.56 kB / 413.4 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2059, allocations: 259.7 kB / 413.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2059, allocations: 25.03 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.2059, allocations: 32.38 kB / 413.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.2064, allocations: 286.2 kB / 414 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2064, allocations: 0 / 414 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2064, allocations: 16 kB / 414 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2065, allocations: 8 kB / 414 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.2069, allocations: 222.5 kB / 414.2 MB, free: 21.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.208, allocations: 1.034 MB / 415.3 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.2083, allocations: 162.5 kB / 415.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.2086, allocations: 139.2 kB / 415.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2086, allocations: 4 kB / 415.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2086, allocations: 34.55 kB / 415.6 MB, free: 20 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.2086, allocations: 0 / 415.6 MB, free: 20 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004801/0.2091, allocations: 245.5 kB / 415.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2091, allocations: 55.41 kB / 415.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2093, allocations: 215.1 kB / 416.1 MB, free: 19.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2093, allocations: 29.7 kB / 416.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.2094, allocations: 191.9 kB / 416.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.2094, allocations: 78.91 kB / 416.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.2094, allocations: 8 kB / 416.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.2095, allocations: 326.8 kB / 416.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2096, allocations: 72.52 kB / 416.8 MB, free: 18.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2098, allocations: 151.4 kB / 416.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.2101, allocations: 244.3 kB / 417.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2101, allocations: 0 / 417.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004/0.2105, allocations: 277.1 kB / 417.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2106, allocations: 8 kB / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2106, allocations: 0 / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2106, allocations: 4 kB / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.2109, allocations: 79.89 kB / 417.5 MB, free: 17.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2109, allocations: 11.92 kB / 417.5 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.211, allocations: 39.89 kB / 417.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2111, allocations: 8 kB / 417.6 MB, free: 17.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.162e-05/0.2111, allocations: 145.7 kB / 417.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.2112, allocations: 27.66 kB / 417.8 MB, free: 17.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.2115, allocations: 206.8 kB / 418 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2116, allocations: 4 kB / 418 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2116, allocations: 0 / 418 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2116, allocations: 3.984 kB / 418 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.2122, allocations: 0.6122 MB / 418.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2122, allocations: 3.938 kB / 418.6 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.2125, allocations: 59.97 kB / 418.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2125, allocations: 0 / 418.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2125, allocations: 8 kB / 418.7 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2125, allocations: 3.984 kB / 418.7 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2125, allocations: 0 / 418.7 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.213, allocations: 393.2 kB / 419 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.2131, allocations: 104.8 kB / 419.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.2131, allocations: 11.98 kB / 419.2 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2133, allocations: 15.98 kB / 419.2 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.2133, allocations: 11.98 kB / 419.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2133, allocations: 12 kB / 419.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.2134, allocations: 152.6 kB / 419.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2134, allocations: 0 / 419.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.2137, allocations: 71.78 kB / 419.4 MB, free: 15.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006259/0.2144, allocations: 0.9265 MB / 420.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.2147, allocations: 191.7 kB / 420.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2147, allocations: 4 kB / 420.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.2149, allocations: 84.53 kB / 420.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.2152, allocations: 32.53 kB / 420.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.2173, allocations: 1.913 MB / 422.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2174, allocations: 0.7752 MB / 423.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2176, allocations: 92.39 kB / 423.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2176, allocations: 0 / 423.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.43/2.647, allocations: 3.806 MB / 427.2 MB, free: 7.965 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches