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.001332/0.001332, allocations: 116.1 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.00165/0.00165, 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.428/1.428, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 62.67 kB / 306.6 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 50.54 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.006023/0.1193, allocations: 3.718 MB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1224, allocations: 1.468 MB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.1229, allocations: 11.94 kB / 362.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.125, allocations: 0.7006 MB / 363 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.1264, allocations: 354 kB / 363.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1276, allocations: 0.5144 MB / 363.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000824/0.1284, allocations: 458 kB / 364.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009573/0.1294, allocations: 0.51 MB / 364.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.1299, allocations: 215.2 kB / 365 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.1303, allocations: 274.8 kB / 365.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.881e-05/0.1305, allocations: 44 kB / 365.3 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.131, allocations: 223.8 kB / 365.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1311, allocations: 111.6 kB / 365.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.1314, allocations: 242.8 kB / 365.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1325, allocations: 0.6854 MB / 366.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1325, allocations: 4 kB / 366.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1325, allocations: 0 / 366.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.1325, allocations: 0 / 366.6 MB, free: 4.766 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.002415/0.135, allocations: 0.9131 MB / 367.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.135, allocations: 8.031 kB / 367.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.1352, allocations: 104 kB / 367.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.1387, allocations: 0.4921 MB / 368.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.1392, allocations: 307.5 kB / 368.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.1392, allocations: 37.69 kB / 368.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.1393, allocations: 64.31 kB / 368.5 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1404, allocations: 0.5296 MB / 369 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.1404, allocations: 0 / 369 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.1405, allocations: 24 kB / 369.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1405, allocations: 12 kB / 369.1 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1416, allocations: 0.5751 MB / 369.6 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2/0.3416, allocations: 1.969 MB / 371.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.3432, allocations: 2.164 MB / 373.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.3437, allocations: 266.4 kB / 374 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3438, allocations: 174.6 kB / 374.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3438, allocations: 39.17 kB / 374.2 MB, free: 16.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.3438, allocations: 0 / 374.2 MB, free: 16.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001675/0.3455, allocations: 0.748 MB / 375 MB, free: 16.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.3456, allocations: 56.44 kB / 375 MB, free: 16.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3457, allocations: 186.1 kB / 375.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3458, allocations: 32.73 kB / 375.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.3458, allocations: 222.6 kB / 375.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.3459, allocations: 167.7 kB / 375.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3461, allocations: 84.25 kB / 375.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.3461, allocations: 334.2 kB / 376.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.3464, allocations: 152.3 kB / 376.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.3467, allocations: 241.1 kB / 376.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.3473, allocations: 416.4 kB / 376.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3474, allocations: 1.938 kB / 376.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008865/0.3482, allocations: 0.533 MB / 377.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3483, allocations: 5.219 kB / 377.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3483, allocations: 4.969 kB / 377.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.3486, allocations: 86.86 kB / 377.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.349, allocations: 96.73 kB / 377.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.3503, allocations: 1.774 MB / 379.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.3506, allocations: 47.69 kB / 379.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3506, allocations: 18.14 kB / 379.4 MB, free: 13.58 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.0001438/0.3508, allocations: 174.8 kB / 379.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.3508, allocations: 24.09 kB / 379.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3518, allocations: 0.5466 MB / 380.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3519, allocations: 5.688 kB / 380.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3519, allocations: 6.422 kB / 380.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3519, allocations: 2.016 kB / 380.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.3534, allocations: 1.145 MB / 381.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3534, allocations: 5.281 kB / 381.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.3537, allocations: 75.44 kB / 381.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.354, allocations: 83.38 kB / 381.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.354, allocations: 13.44 kB / 381.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.3553, allocations: 1.772 MB / 383.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3553, allocations: 2.125 kB / 383.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3564, allocations: 0.8077 MB / 384.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3565, allocations: 107 kB / 384.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.3565, allocations: 8.75 kB / 384.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3568, allocations: 19.7 kB / 384.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.3569, allocations: 33.48 kB / 384.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3569, allocations: 17.09 kB / 384.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.357, allocations: 134.5 kB / 384.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.357, allocations: 0 / 384.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.3575, allocations: 161.2 kB / 384.5 MB, free: 10.16 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.001488/0.359, allocations: 1.385 MB / 385.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.3601, allocations: 0.5835 MB / 386.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3601, allocations: 1.656 kB / 386.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.3607, allocations: 382.3 kB / 386.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3611, allocations: 28.45 kB / 386.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.3653, allocations: 3.637 MB / 390.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3655, allocations: 0.8067 MB / 391.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.3658, allocations: 51.27 kB / 391.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3659, allocations: 136.7 kB / 391.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3659, allocations: 1.312 kB / 391.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3892, allocations: 7.401 MB / 398.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.3894, allocations: 254.8 kB / 399.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.461, allocations: 0 / 399.2 MB, free: 2.891 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