Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001743/0.001743, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002204/0.002204, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.486/1.486, allocations: 230.4 MB / 254 MB, free: 15 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.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.84 kB / 373 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1111, allocations: 53.38 MB / 426.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004695/0.1158, allocations: 2.978 MB / 429.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1172, allocations: 0.7479 MB / 430.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1174, allocations: 4 kB / 430.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1175, allocations: 47.52 kB / 430.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1178, allocations: 111.1 kB / 430.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.118, allocations: 99.83 kB / 430.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.1185, allocations: 418.4 kB / 430.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1187, allocations: 91.27 kB / 430.9 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2337/0.3524, allocations: 157.9 kB / 431 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.3528, allocations: 175 kB / 431.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.3529, allocations: 40.38 kB / 431.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.353, allocations: 41.22 kB / 431.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.353, allocations: 84.94 kB / 431.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.3533, allocations: 182.9 kB / 431.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.3538, allocations: 461.7 kB / 432 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3538, allocations: 0 / 432 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3538, allocations: 0 / 432 MB, free: 7.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3539, allocations: 0.875 kB / 432 MB, free: 7.637 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001147/0.355, allocations: 0.6688 MB / 432.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.355, allocations: 11.19 kB / 432.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.3551, allocations: 61.17 kB / 432.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.3552, allocations: 40.7 kB / 432.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3555, allocations: 310.7 kB / 433.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3555, allocations: 24.56 kB / 433.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.3556, allocations: 23.38 kB / 433.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.3562, allocations: 285.5 kB / 433.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3562, allocations: 3.75 kB / 433.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3562, allocations: 10.78 kB / 433.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3562, allocations: 8.125 kB / 433.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.3568, allocations: 265.9 kB / 433.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.3585, allocations: 1.099 MB / 434.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.3592, allocations: 215.5 kB / 435 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.3595, allocations: 88.83 kB / 435.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3595, allocations: 1.656 kB / 435.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/0.3599, allocations: 184.9 kB / 435.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.3599, allocations: 0 / 435.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001781/0.3617, allocations: 0.5075 MB / 435.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.3618, allocations: 138.7 kB / 435.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.3621, allocations: 282.5 kB / 436.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3622, allocations: 29.95 kB / 436.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3623, allocations: 208.6 kB / 436.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.3624, allocations: 49.88 kB / 436.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3625, allocations: 55.09 kB / 436.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.3626, allocations: 334.4 kB / 436.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.3629, allocations: 94.42 kB / 436.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.3633, allocations: 197.3 kB / 437.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.364, allocations: 283 kB / 437.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.364, allocations: 5.562 kB / 437.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001025/0.365, allocations: 407.3 kB / 437.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.365, allocations: 33.88 kB / 437.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.365, allocations: 2.406 kB / 437.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.3654, allocations: 84.08 kB / 437.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3657, allocations: 47.91 kB / 438 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3677, allocations: 1.798 MB / 439.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.3681, allocations: 55.73 kB / 439.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.3681, allocations: 13.41 kB / 439.8 MB, free: 3.359 MB / 350.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: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.3682, allocations: 158.3 kB / 440 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3683, allocations: 29.05 kB / 440 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.3683, allocations: 28.52 kB / 440 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3683, allocations: 1.969 kB / 440 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3684, allocations: 0 / 440 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3684, allocations: 3.172 kB / 440.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.3687, allocations: 332.7 kB / 440.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3687, allocations: 0.7031 kB / 440.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3689, allocations: 32.09 kB / 440.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.3692, allocations: 75.67 kB / 440.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3692, allocations: 6.609 kB / 440.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.3709, allocations: 1.816 MB / 442.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3709, allocations: 0 / 442.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.3717, allocations: 318.5 kB / 442.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3718, allocations: 105.5 kB / 442.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.3718, allocations: 7.016 kB / 442.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3721, allocations: 26.41 kB / 442.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.3722, allocations: 26.69 kB / 442.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3722, allocations: 3.188 kB / 442.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3724, allocations: 207.5 kB / 443 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 443 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.3728, allocations: 83.89 kB / 443.1 MB, free: 0.8984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.3739, allocations: 0.8559 MB / 443.9 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.3749, allocations: 414.3 kB / 444.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3749, allocations: 0 / 444.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.3754, allocations: 233.1 kB / 444.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3757, allocations: 55.2 kB / 444.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.3819, allocations: 3.093 MB / 447.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.3824, allocations: 0.7643 MB / 448.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.3826, allocations: 27.83 kB / 448.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3827, allocations: 88.45 kB / 448.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3827, allocations: 0 / 448.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.422, allocations: 7.235 MB / 455.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.38, allocations: 5.406 kB / 455.8 MB, free: 11.27 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gain.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv. Warning: Get data of variable gain.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv failed! Error: Could not read variable gain.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv. Warning: Get data of variable gain.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.890751335886307]