Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_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.00113/0.00113, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 61.53 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.0884, allocations: 50.53 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00498/0.09342, allocations: 3.717 MB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.09585, allocations: 1.484 MB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.09621, allocations: 12 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.09793, allocations: 0.7195 MB / 362.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009501/0.09889, allocations: 342.6 kB / 363.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.09993, allocations: 0.5359 MB / 363.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.1005, allocations: 450 kB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.1013, allocations: 414.6 kB / 364.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.1018, allocations: 207.1 kB / 364.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.1022, allocations: 266.9 kB / 365 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.1023, allocations: 36 kB / 365 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.1029, allocations: 203.8 kB / 365.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.103, allocations: 103.6 kB / 365.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.1033, allocations: 226.8 kB / 365.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009194/0.1042, allocations: 0.6814 MB / 366.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1042, allocations: 4 kB / 366.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1042, allocations: 0 / 366.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.1043, allocations: 0 / 366.2 MB, free: 5.008 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002371/0.1066, allocations: 0.9171 MB / 367.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1067, allocations: 12.03 kB / 367.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.1068, allocations: 92.02 kB / 367.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.1102, allocations: 499.9 kB / 367.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.1107, allocations: 315.5 kB / 368.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1107, allocations: 37.69 kB / 368.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1108, allocations: 52.38 kB / 368.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.1118, allocations: 0.5335 MB / 368.7 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1119, allocations: 8 kB / 368.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.1119, allocations: 24 kB / 368.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1119, allocations: 12 kB / 368.7 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.113, allocations: 0.579 MB / 369.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.138/0.251, allocations: 1.965 MB / 371.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2527, allocations: 2.174 MB / 373.4 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.2531, allocations: 261.8 kB / 373.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.2533, allocations: 174.2 kB / 373.9 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.2533, allocations: 40.12 kB / 373.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.2533, allocations: 0 / 373.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001681/0.255, allocations: 0.7455 MB / 374.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.255, allocations: 57.38 kB / 374.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2552, allocations: 187.3 kB / 374.9 MB, free: 16.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2552, allocations: 32.33 kB / 374.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.2553, allocations: 221.4 kB / 375.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.2554, allocations: 156.1 kB / 375.3 MB, free: 16.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2555, allocations: 87.98 kB / 375.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.2556, allocations: 340.2 kB / 375.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.2559, allocations: 152.5 kB / 375.9 MB, free: 16.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2563, allocations: 240.9 kB / 376.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.2569, allocations: 412.2 kB / 376.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2569, allocations: 1.188 kB / 376.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009197/0.2578, allocations: 0.5353 MB / 377 MB, free: 15.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2579, allocations: 6.109 kB / 377 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2579, allocations: 2.75 kB / 377 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.2582, allocations: 84.03 kB / 377.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.2586, allocations: 99.98 kB / 377.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2599, allocations: 1.646 MB / 378.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.2601, allocations: 47.67 kB / 378.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.2602, allocations: 24.53 kB / 378.9 MB, free: 14.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.2603, allocations: 169.9 kB / 379.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2604, allocations: 28.44 kB / 379.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.2614, allocations: 0.5394 MB / 379.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2614, allocations: 5.094 kB / 379.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2614, allocations: 3.688 kB / 379.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2614, allocations: 2.625 kB / 379.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.2629, allocations: 1.15 MB / 380.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2629, allocations: 1.375 kB / 380.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.2632, allocations: 83.19 kB / 380.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.2635, allocations: 81.58 kB / 381 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.2635, allocations: 12.08 kB / 381 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.2647, allocations: 1.644 MB / 382.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2647, allocations: 5.156 kB / 382.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2659, allocations: 0.7984 MB / 383.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2659, allocations: 106.8 kB / 383.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.266, allocations: 8.312 kB / 383.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2662, allocations: 23.55 kB / 383.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.2663, allocations: 41.09 kB / 383.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2663, allocations: 15.34 kB / 383.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.2664, allocations: 131.7 kB / 383.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2664, allocations: 0 / 383.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.2669, allocations: 151.9 kB / 383.9 MB, free: 10.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/0.2683, allocations: 1.379 MB / 385.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008972/0.2692, allocations: 0.5707 MB / 385.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2692, allocations: 0 / 385.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.2697, allocations: 385 kB / 386.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2701, allocations: 32.39 kB / 386.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.2741, allocations: 3.637 MB / 389.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.2744, allocations: 0.8104 MB / 390.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.2746, allocations: 49.27 kB / 390.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2748, allocations: 134 kB / 390.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2748, allocations: 4 kB / 390.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.2921, allocations: 7.168 MB / 398.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.2923, allocations: 255.3 kB / 398.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.104, allocations: 0 / 398.3 MB, free: 3.633 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches