Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007197/0.0007198, allocations: 91.73 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008728/0.0008728, allocations: 199 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001874/0.0001874, allocations: 8 kB / 307.8 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07771, allocations: 51.52 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002743/0.08048, allocations: 2.563 MB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.08173, allocations: 0.6973 MB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.08195, allocations: 8 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.08213, allocations: 47.61 kB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.08235, allocations: 71.39 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.0826, allocations: 79.92 kB / 362.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.08296, allocations: 358.9 kB / 363.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.08322, allocations: 148.9 kB / 363.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.08348, allocations: 123.5 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.08364, allocations: 131.3 kB / 363.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.08369, allocations: 20 kB / 363.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.08373, allocations: 16 kB / 363.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.08379, allocations: 59.75 kB / 363.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.08392, allocations: 172.9 kB / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.08421, allocations: 358.8 kB / 364.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.08422, allocations: 0 / 364.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08423, allocations: 0 / 364.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.08424, allocations: 0 / 364.2 MB, free: 8.129 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007806/0.08503, allocations: 0.5693 MB / 364.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.08507, allocations: 12.03 kB / 364.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.505e-05/0.08515, allocations: 70.72 kB / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.08522, allocations: 40.47 kB / 364.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.08548, allocations: 263.8 kB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.08551, allocations: 21.03 kB / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.08557, allocations: 40.3 kB / 365.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.08608, allocations: 290.2 kB / 365.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.0861, allocations: 0 / 365.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.08613, allocations: 8 kB / 365.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.08615, allocations: 8 kB / 365.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.0866, allocations: 230.5 kB / 365.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.08802, allocations: 1.03 MB / 366.7 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.08834, allocations: 170.5 kB / 366.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.08862, allocations: 135.3 kB / 367 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.08865, allocations: 8 kB / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.08868, allocations: 34.5 kB / 367.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.08868, allocations: 0 / 367.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005389/0.08923, allocations: 237.7 kB / 367.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.08927, allocations: 55.41 kB / 367.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.08946, allocations: 219 kB / 367.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.08948, allocations: 33.64 kB / 367.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.08959, allocations: 196 kB / 367.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.08965, allocations: 74.94 kB / 367.9 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.08969, allocations: 25.72 kB / 367.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.08979, allocations: 338.8 kB / 368.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.08996, allocations: 68.52 kB / 368.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.09017, allocations: 159.2 kB / 368.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.09054, allocations: 233.2 kB / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.09055, allocations: 4 kB / 368.7 MB, free: 3.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004657/0.09102, allocations: 277 kB / 369 MB, free: 3.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.09105, allocations: 8.25 kB / 369 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.09106, allocations: 8 kB / 369 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.09108, allocations: 4 kB / 369 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.09135, allocations: 75.89 kB / 369.1 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.09137, allocations: 4 kB / 369.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.09153, allocations: 35.78 kB / 369.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.09156, allocations: 11.98 kB / 369.1 MB, free: 2.883 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.09168, allocations: 158.8 kB / 369.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.09173, allocations: 19.75 kB / 369.3 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.09213, allocations: 214.7 kB / 369.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.09214, allocations: 0 / 369.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.09215, allocations: 8 kB / 369.5 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.09216, allocations: 3.984 kB / 369.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.09288, allocations: 0.6074 MB / 370.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.0929, allocations: 4.062 kB / 370.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.09316, allocations: 59.91 kB / 370.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.09318, allocations: 4 kB / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.0932, allocations: 4 kB / 370.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.0932, allocations: 4 kB / 370.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.09321, allocations: 3.984 kB / 370.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.09375, allocations: 389.2 kB / 370.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.09382, allocations: 104.9 kB / 370.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.09385, allocations: 4 kB / 370.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.09402, allocations: 23.92 kB / 370.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.09407, allocations: 15.97 kB / 370.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.09409, allocations: 8 kB / 370.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.09421, allocations: 160.6 kB / 370.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09422, allocations: 4 kB / 370.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.09453, allocations: 75.69 kB / 371 MB, free: 0.9141 MB / 302.1 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 (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.1283/0.2228, allocations: 0.9173 MB / 371.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.2234, allocations: 185.1 kB / 372.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2234, allocations: 3.25 kB / 372.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2236, allocations: 88.91 kB / 372.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2239, allocations: 31.98 kB / 372.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.2268, allocations: 3.074 MB / 375.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.227, allocations: 0.7678 MB / 376 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.279e-05/0.2271, allocations: 20.31 kB / 376 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.2272, allocations: 88.86 kB / 376.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2272, allocations: 4 kB / 376.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.2406, allocations: 4.194 MB / 380.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.2407, allocations: 205.2 kB / 380.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.85, allocations: 0 / 380.5 MB, free: 15.88 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches