Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002092/0.002092, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 59.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2762, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00669/0.2829, allocations: 5.121 MB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.2864, allocations: 1.866 MB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.2866, allocations: 12 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.2894, allocations: 1.194 MB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.291, allocations: 0.6292 MB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.2924, allocations: 0.6231 MB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009679/0.2933, allocations: 0.7544 MB / 441.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008303/0.2942, allocations: 0.527 MB / 441.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.2946, allocations: 346.6 kB / 442.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.2952, allocations: 422.3 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.2953, allocations: 64 kB / 442.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.2958, allocations: 247.8 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.296, allocations: 175.3 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.2963, allocations: 382.1 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.2977, allocations: 1.02 MB / 444.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2977, allocations: 0 / 444.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2977, allocations: 0 / 444.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.2977, allocations: 0 / 444.5 MB, free: 9.312 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003916/0.3016, allocations: 1.332 MB / 445.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3016, allocations: 12.03 kB / 445.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.3018, allocations: 127.1 kB / 446 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005706/0.3075, allocations: 0.7848 MB / 446.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.3084, allocations: 354 kB / 447.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.3084, allocations: 58.38 kB / 447.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.3086, allocations: 83.92 kB / 447.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.31, allocations: 0.7648 MB / 448 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.3101, allocations: 7.938 kB / 448.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.3101, allocations: 36 kB / 448.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3102, allocations: 24 kB / 448.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.3118, allocations: 0.9019 MB / 449 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/0.3163, allocations: 2.525 MB / 451.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.3181, allocations: 0.7789 MB / 452.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.3186, allocations: 295 kB / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3187, allocations: 36.61 kB / 452.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3188, allocations: 43.22 kB / 452.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.3188, allocations: 0 / 452.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003687/0.3225, allocations: 1.259 MB / 453.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3225, allocations: 64.06 kB / 454 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.3229, allocations: 292.2 kB / 454.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.323, allocations: 37.7 kB / 454.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.3232, allocations: 296.6 kB / 454.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3234, allocations: 261.6 kB / 454.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.3237, allocations: 130.6 kB / 455 MB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3238, allocations: 350.7 kB / 455.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.3243, allocations: 245.8 kB / 455.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.3249, allocations: 354.5 kB / 455.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.326, allocations: 0.6337 MB / 456.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.326, allocations: 0 / 456.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001808/0.3278, allocations: 0.8686 MB / 457.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.3279, allocations: 6.5 kB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3279, allocations: 4 kB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008251/0.3287, allocations: 212.6 kB / 457.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.3292, allocations: 127.8 kB / 457.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.3329, allocations: 2.605 MB / 460.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.3333, allocations: 71.48 kB / 460.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.3334, allocations: 28 kB / 460.5 MB, free: 8.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003281/0.3337, allocations: 205.6 kB / 460.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3338, allocations: 51.67 kB / 460.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.3358, allocations: 0.8781 MB / 461.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3358, allocations: 11.94 kB / 461.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3358, allocations: 4 kB / 461.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.3358, allocations: 3.984 kB / 461.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.3386, allocations: 1.679 MB / 463.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3386, allocations: 0 / 463.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.3391, allocations: 119.8 kB / 463.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006912/0.3398, allocations: 199.2 kB / 463.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.3398, allocations: 19.98 kB / 463.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.3431, allocations: 2.597 MB / 466.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3431, allocations: 3.938 kB / 466.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.3455, allocations: 1.257 MB / 467.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.96e-05/0.3456, allocations: 55.56 kB / 467.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.3456, allocations: 12 kB / 467.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.346, allocations: 35.98 kB / 467.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.3461, allocations: 56.53 kB / 467.6 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.3462, allocations: 23.94 kB / 467.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.3464, allocations: 207.1 kB / 467.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 467.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000818/0.3472, allocations: 243.5 kB / 468.1 MB, free: 1.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002804/0.35, allocations: 1.844 MB / 470 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3517, allocations: 0.8014 MB / 470.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3517, allocations: 0 / 470.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000882/0.3526, allocations: 0.5138 MB / 471.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.3531, allocations: 64.95 kB / 471.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.3611, allocations: 5.064 MB / 476.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.3617, allocations: 0.893 MB / 477.3 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.362, allocations: 72.53 kB / 477.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.3623, allocations: 231.3 kB / 477.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3623, allocations: 0 / 477.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/0.4255, allocations: 13.07 MB / 490.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.6, allocations: 1.312 kB / 490.7 MB, free: 10.4 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.410941606853157]