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.001172/0.001172, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.62 kB / 306.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09699, allocations: 50.54 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004176/0.1012, allocations: 2.94 MB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1027, allocations: 0.7011 MB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.1031, allocations: 8 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1034, allocations: 51.61 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1038, allocations: 75.44 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1041, allocations: 75.88 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.1046, allocations: 370.9 kB / 361.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.105, allocations: 172.5 kB / 361.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.1053, allocations: 143.5 kB / 361.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.1056, allocations: 163.3 kB / 361.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.1057, allocations: 40 kB / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1058, allocations: 32 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.1059, allocations: 71.7 kB / 361.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1061, allocations: 175.1 kB / 362.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.1065, allocations: 386.9 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1065, allocations: 0 / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1065, allocations: 0 / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1065, allocations: 0 / 362.5 MB, free: 8.684 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.001116/0.1077, allocations: 0.6186 MB / 363.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.1077, allocations: 8.031 kB / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.448e-05/0.1078, allocations: 70.72 kB / 363.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.1079, allocations: 36.47 kB / 363.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.1083, allocations: 267.8 kB / 363.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.1083, allocations: 25.03 kB / 363.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.1084, allocations: 32.38 kB / 363.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/0.109, allocations: 290.2 kB / 363.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.109, allocations: 0 / 363.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.109, allocations: 16 kB / 363.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.109, allocations: 4 kB / 363.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.1096, allocations: 218.4 kB / 364 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1116, allocations: 1.03 MB / 365.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.112, allocations: 158.5 kB / 365.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1123, allocations: 136.7 kB / 365.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1123, allocations: 0 / 365.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1124, allocations: 38.56 kB / 365.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.1124, allocations: 0 / 365.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006073/0.113, allocations: 221.6 kB / 365.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.113, allocations: 59.34 kB / 365.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1133, allocations: 219 kB / 365.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1133, allocations: 29.7 kB / 365.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1134, allocations: 192 kB / 366.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.1135, allocations: 74.92 kB / 366.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.1136, allocations: 53.98 kB / 366.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1138, allocations: 326.8 kB / 366.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.114, allocations: 72.52 kB / 366.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.1142, allocations: 139.4 kB / 366.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.1146, allocations: 229.2 kB / 367 MB, free: 3.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1146, allocations: 0 / 367 MB, free: 3.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005507/0.1152, allocations: 269.1 kB / 367.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1152, allocations: 8 kB / 367.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1152, allocations: 4.25 kB / 367.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1152, allocations: 8 kB / 367.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.1155, allocations: 71.83 kB / 367.3 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1156, allocations: 4 kB / 367.3 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1158, allocations: 31.73 kB / 367.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1158, allocations: 12 kB / 367.4 MB, free: 3.461 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.0001424/0.1159, allocations: 150.7 kB / 367.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.116, allocations: 27.66 kB / 367.5 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.1164, allocations: 203.9 kB / 367.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1165, allocations: 8 kB / 367.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1165, allocations: 0 / 367.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1165, allocations: 3.984 kB / 367.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.1174, allocations: 0.6035 MB / 368.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1174, allocations: 48 / 368.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.1178, allocations: 59.95 kB / 368.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1178, allocations: 0 / 368.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1178, allocations: 7.984 kB / 368.4 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1178, allocations: 3.938 kB / 368.4 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1178, allocations: 3.938 kB / 368.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.1184, allocations: 375.7 kB / 368.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.1185, allocations: 96.91 kB / 368.9 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.1186, allocations: 4.062 kB / 368.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1188, allocations: 15.98 kB / 368.9 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.1188, allocations: 15.98 kB / 368.9 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1188, allocations: 11.94 kB / 368.9 MB, free: 1.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.119, allocations: 152.6 kB / 369.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.119, allocations: 0 / 369.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.1194, allocations: 79.69 kB / 369.2 MB, free: 1.543 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.0009418/0.1203, allocations: 0.9095 MB / 370.1 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004527/0.1208, allocations: 191.1 kB / 370.3 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1208, allocations: 0 / 370.3 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.121, allocations: 83.84 kB / 370.3 MB, free: 344 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1214, allocations: 32.59 kB / 370.4 MB, free: 312 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.197/0.3184, allocations: 2.923 MB / 373.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3188, allocations: 0.767 MB / 374.1 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.319, allocations: 27.56 kB / 374.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3192, allocations: 91.52 kB / 374.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3192, allocations: 0 / 374.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.3586, allocations: 4.406 MB / 378.6 MB, free: 17.26 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.3589, allocations: 206.2 kB / 378.8 MB, free: 17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.468, allocations: 0 / 378.8 MB, free: 17 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