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.001363/0.001363, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 71.86 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3205, allocations: 50.55 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005561/0.3261, allocations: 3.701 MB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.329, allocations: 1.499 MB / 414 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.3293, allocations: 15.94 kB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3312, allocations: 0.7425 MB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.3323, allocations: 393.9 kB / 415.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3335, allocations: 0.5518 MB / 415.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.3341, allocations: 462 kB / 416.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.3349, allocations: 476.7 kB / 416.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.3353, allocations: 219.2 kB / 416.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.3357, allocations: 278.9 kB / 417.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.3357, allocations: 44 kB / 417.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.3362, allocations: 215.8 kB / 417.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.3363, allocations: 107.6 kB / 417.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3366, allocations: 238.8 kB / 417.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.3375, allocations: 0.7043 MB / 418.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3375, allocations: 3.984 kB / 418.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3375, allocations: 0 / 418.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3375, allocations: 0 / 418.4 MB, free: 7.871 MB / 334.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.002239/0.3397, allocations: 0.9239 MB / 419.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3398, allocations: 8.031 kB / 419.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.34, allocations: 108 kB / 419.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.3434, allocations: 468.2 kB / 419.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.344, allocations: 311.7 kB / 420.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.3441, allocations: 37.69 kB / 420.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.3442, allocations: 60.33 kB / 420.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3452, allocations: 0.5412 MB / 420.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.3453, allocations: 0 / 420.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.3453, allocations: 20 kB / 420.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3453, allocations: 12 kB / 420.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3464, allocations: 0.5829 MB / 421.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.3497, allocations: 1.958 MB / 423.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.3523, allocations: 2.177 MB / 425.6 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.3528, allocations: 264.7 kB / 425.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.3531, allocations: 182.6 kB / 426 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.3531, allocations: 35 kB / 426.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.294e-06/0.3531, allocations: 4 kB / 426.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00197/0.3551, allocations: 0.7505 MB / 426.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.3552, allocations: 59.84 kB / 426.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3554, allocations: 182.3 kB / 427.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.3554, allocations: 41.64 kB / 427.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3556, allocations: 225 kB / 427.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.3558, allocations: 166.5 kB / 427.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.3559, allocations: 86.23 kB / 427.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3561, allocations: 342.8 kB / 427.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3564, allocations: 149.1 kB / 428.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.3568, allocations: 238.5 kB / 428.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.3575, allocations: 420.8 kB / 428.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3576, allocations: 4 kB / 428.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00109/0.3587, allocations: 0.5397 MB / 429.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3587, allocations: 8 kB / 429.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3587, allocations: 0 / 429.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.3591, allocations: 88.72 kB / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3595, allocations: 95.89 kB / 429.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.3616, allocations: 1.775 MB / 431.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.3619, allocations: 47.67 kB / 431.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.3619, allocations: 19.98 kB / 431.3 MB, free: 10.07 MB / 350.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.0002258/0.3621, allocations: 165.8 kB / 431.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.3622, allocations: 27.81 kB / 431.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3634, allocations: 0.5356 MB / 432 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3634, allocations: 11.98 kB / 432 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3634, allocations: 3.938 kB / 432 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.3634, allocations: 3.984 kB / 432 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3652, allocations: 1.152 MB / 433.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3652, allocations: 0 / 433.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.3656, allocations: 79.89 kB / 433.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.3659, allocations: 81.09 kB / 433.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3659, allocations: 12 kB / 433.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.3677, allocations: 1.77 MB / 435.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3678, allocations: 0 / 435.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.3692, allocations: 0.8068 MB / 435.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3693, allocations: 108.9 kB / 436 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.3694, allocations: 8.062 kB / 436 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.3696, allocations: 23.92 kB / 436.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3698, allocations: 48.31 kB / 436.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.3698, allocations: 8 kB / 436.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3699, allocations: 136.2 kB / 436.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3699, allocations: 0 / 436.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005635/0.3705, allocations: 155.6 kB / 436.4 MB, free: 4.676 MB / 350.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.001902/0.3724, allocations: 1.386 MB / 437.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.3736, allocations: 0.5737 MB / 438.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3736, allocations: 0 / 438.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.3743, allocations: 389.6 kB / 438.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.3748, allocations: 31.92 kB / 438.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/0.3829, allocations: 3.459 MB / 442.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.3836, allocations: 0.8084 MB / 443 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.384, allocations: 46.95 kB / 443.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.3843, allocations: 147.3 kB / 443.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3843, allocations: 0 / 443.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05043/0.4347, allocations: 7.548 MB / 450.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.64, allocations: 18.36 kB / 450.8 MB, free: 6.219 MB / 366.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.1.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